WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about user_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/user-edit.php apply_filters 563 /**
* Filters a user contactmethod label.
*
* The dynamic portion of the hook name, `$name`, refers to
* each of the keys in the contact methods array.
*
* @since 2.9.0
*
* @param string $desc The translatable label for the contact method.
*/
wp-includes/user.php apply_filters 1823 /**
* 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.
*
* @since 2.9.0
*
* @param mixed $value The user object value to sanitize.
* @param int $user_id User ID.
* @param string $context The context to filter within.
*/

Hook Parameters

Parameter Type Name Description
mixed $value The user object value to sanitize.
int $user_id User ID.
string $context The context to filter within.