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 );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example migrated from Codex:
Add & remove user contact methods.
Add user contact methods useing OOP.