Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | apply_filters | 1777 | /** * 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. * * @since 2.9.0 * * @param mixed $value Value of the prefixed user field. * @param int $user_id User ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
mixed | $value | Value of the prefixed user field. |
int | $user_id | User ID. |