wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_get_user_contactmethods › WordPress Function

Since2.9.0
Deprecatedn/a
_wp_get_user_contactmethods ( $user = null )
Access:
  • private
Parameters:
  • (WP_User|null) $user Optional. WP_User object. Default null.
    Required: No
    Default: null
Returns:
  • (string[]) Array of contact method labels keyed by contact method.
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 );
}