A WordPress-centric search engine for devs and theme authors



_wp_get_user_contactmethods ›

Since2.9.0
Deprecatedn/a
_wp_get_user_contactmethods ( $user = null )
Access:
  • private
Parameters:
  • (WP_User) $user Optional. WP_User object. Default null.
    Required: No
    Default: null
Returns:
  • (array) Array of contact methods and their labels.
Defined at:
Codex:

The old private function for setting up user contact methods.

Use wp_get_user_contact_methods() instead.



Source

function _wp_get_user_contactmethods( $user = null ) {
	return wp_get_user_contact_methods( $user );
}