_wp_get_user_contactmethods
- %1$s is private and should not be used in themes or plugins directly.
_wp_get_user_contactmethods ( $user = null )
Access:Parameters:- (WP_User|null) user Optional. WP_User object. Default null.
Returns:- (string[]) Array of contact method labels keyed by contact method.
Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
The old private function for setting up user contact methods.Use wp_get_user_contact_methods() instead.