wp_get_user_contact_methods


wp_get_user_contact_methods ( $user = null )

Parameters:
  • (WP_User) $user Optional. WP_User object.
Returns:
  • (array) Array of contact methods and their labels.
Defined at:

Description

Set up the user contact methods.

Default contact methods were removed in 3.6. A filter dictates contact methods.

Related Functions

_wp_get_user_contactmethods, get_user_count, wp_get_recent_posts, get_the_content_feed, wp_get_attachment_metadata

Top Google Results

User discussions

wpseek mobile