wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



user_{$field} › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
› apply_filters( "user_{$field}", $value, $user_id, $context )
Parametri: (3)
  • () value The user object value to sanitize.
    Richiesto: Sì
  • () user_id User ID.
    Richiesto: Sì
  • () context The context to filter within.
    Richiesto: Sì
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 );