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, wp_update_user_counts, get_user_count, wp_is_large_user_count, wp_get_recent_posts

Top Google Results

User discussions

wpseek mobile