wp_get_user_contact_methods


wp_get_user_contact_methods ( $user = null )

Parameters:
  • (WP_User) user Optional. WP_User object.
Returns:
  • (string[]) Array of contact method labels keyed by contact method.
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, wp_get_recent_posts, wp_get_ready_cron_jobs, wp_get_user_request, wp_filter_content_tags

Top Google Results

User discussions

wpseek mobile