Docs: Add missing parameter and return descriptions to the DocBlock for _wp_get_user_contactmethods()
.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ae560a7712
commit
b56bcec8cc
@ -1897,8 +1897,13 @@ function wp_get_user_contact_methods( $user = null ) {
|
||||
/**
|
||||
* The old private function for setting up user contact methods.
|
||||
*
|
||||
* Use wp_get_user_contact_methods() instead.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @access private
|
||||
*
|
||||
* @param WP_User $user Optional. WP_User object. Default null.
|
||||
* @return array Array of contact methods and their labels.
|
||||
*/
|
||||
function _wp_get_user_contactmethods( $user = null ) {
|
||||
return wp_get_user_contact_methods( $user );
|
||||
|
Loading…
Reference in New Issue
Block a user