wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



edit_user_{$field} › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
› apply_filters( "edit_user_{$field}", $value, $user_id )
Paramètres: (2)
  • () value Value of the prefixed user field.
    Requis: Oui
  • () user_id User ID.
    Requis: Oui
Défini(e) dans:
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 );