A WordPress-centric search engine for devs and theme authors



edit_user_{$field} ›

Since2.9.0
Deprecatedn/a
apply_filters( "edit_user_{$field}", $value, $user_id )
Parameters: (2)
  • (mixed) $value Value of the prefixed user field.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
Defined at:
Codex:

Filters a user field value in the 'edit' context.

The dynamic portion of the hook name, $field, refers to the prefixed user field being filtered, such as 'user_login', 'user_email', 'first_name', etc.





Source

$value = apply_filters( "edit_user_{$field}", $value, $user_id );