wp_get_user_contact_methods


wp_get_user_contact_methods ( $user = null )

Parameters:
  • (WP_User|null) user Optional. WP_User object.
Returns:
  • (string[]) Array of contact method labels keyed by contact method.
Defined at:

Description

Sets 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_update_user_counts, wp_filter_content_tags, wp_get_ready_cron_jobs

Top Google Results

User discussions

wpseek mobile