Used By
Used By | Description |
---|---|
wp-includes/user.php: sanitize_user_field() | Sanitize user field based on context. |
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.
(mixed) Value of the prefixed user field.
(int) User ID.
File: wp-includes/user.php
Version | Description |
---|---|
2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_user_field