首页 WordPress函数大全 get_usermeta()

get_usermeta()

2020-05-02 / 3178阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated. Use get_user_meta() instead.

get_usermeta( int $user_id, string $meta_key = '' )

Retrieve user metadata.

描述

If $user_id is not a number, then the function will fail over with a ‘false’ boolean return value. Other returned values depend id="see-also" tabindex="-1">See also See also

  • get_user_meta()

Top ↑

参数

$user_id

(int)
(Required)
User ID

$meta_key

(string)
(Optional)
Metadata key.

Default value: ''

返回

(mixed)

大家谈论
    我的见解