Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_user_{$field} ›

Desde2.9.0
Obsoleton/a
apply_filters( "pre_user_{$field}", $value )
Parâmetros:
  • (mixed) $value Value of the prefixed user field.
    Required: Yes
Definido em:
Codex:

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





Fonte

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