Changeset 50641 for trunk/src/wp-includes/user.php
- Timestamp:
- 04/02/2021 03:47:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r50589 r50641 1009 1009 * returns data for all keys. 1010 1010 * @param bool $single Optional. Whether to return a single value. 1011 * This parameter has no effect if $keyis not specified.1011 * This parameter has no effect if `$key` is not specified. 1012 1012 * Default false. 1013 * @return mixed An array if $single is false. The value of meta data field 1014 * if $single is true. False for an invalid $user_id. 1013 * @return mixed An array of values if `$single` is false. 1014 * The value of meta data field if `$single` is true. 1015 * False for an invalid `$user_id` (non-numeric, zero, or negative value). 1016 * An empty string if a valid but non-existing user ID is passed. 1015 1017 */ 1016 1018 function get_user_meta( $user_id, $key = '', $single = false ) {
Note: See TracChangeset
for help on using the changeset viewer.