WPDev.one
Core Function
View Source on Trac ↗

_wp_get_user_contactmethods()

_wp_get_user_contactmethods( mixed $user = null )

The old private function for setting up user contact methods.

Parameters 1 required

Name / Type Description
(WP_User

| null) $user Optional. WP_User object. Default null.

Required

Return Value

(string[])
Array of contact method labels keyed by contact method.

Function Information

Since Version
2.9.0
Source File
wp-includes/user.php
Advertisement