2020-05-02 / 3632阅 / 悠然
Retrieve user meta field for a user.
(int)
(Required)
User ID.
(string)
(Optional)
The meta key to retrieve. By default, returns data for all keys.
Default value: ''
(bool)
(Optional)
Whether to return a single value.
Default value: false
(mixed) Will be an array if $single is false. Will be value of meta data field if $single is true.