Un motore di ricerca WordPress per sviluppatori e autori di temi



user_{$field} ›

Da2.9.0
Deprecaton/a
apply_filters( "user_{$field}", $value, $user_id, $context )
Parametri: (3)
  • (mixed) $value The user object value to sanitize.
    Richiesto:
  • (int) $user_id User ID.
    Richiesto:
  • (string) $context The context to filter within.
    Richiesto:
Definito a:
Codex:

Filters the value of a user field in a standard 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.





Sorgenti

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