On this page
apply_filters( 'user_contactmethods', string[] $methods, WP_User|null $user )
Filters the user contact methods.
Parameters
More Information
Customize the contact information fields available to your WordPress users. Edits the available contact methods on a user’s profile page. Contact methods can be both added and removed.
Source
File: wp-includes/user.php. View all references
return apply_filters( 'user_contactmethods', $methods, $user );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_user_contact_methods() wp-includes/user.php | Sets up the user contact methods. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_contactmethods