WordPress开发者和主题制作者的搜索引擎



_wp_get_user_contactmethods ›

Since2.9.0
已弃用n/a
_wp_get_user_contactmethods ( $user = null )
访问:
  • private
参数:
  • (WP_User) $user Optional. WP_User object. Default null.
    Required: No
    默认: null
返回:
  • (array) Array of contact methods and their labels.
定义在:
文档:

The old private function for setting up user contact methods.

Use wp_get_user_contact_methods() instead.



源码

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