Make WordPress Core


Ignore:
Timestamp:
07/28/2020 10:13:50 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document that various metadata functions return false for an invalid ID.

Props salcode.
See #40519.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r48590 r48658  
    832832 *                        Default false.
    833833 * @return mixed An array if $single is false. The value of meta data field
    834  *               if $single is true.
     834 *               if $single is true. False for an invalid $user_id.
    835835 */
    836836function get_user_meta( $user_id, $key = '', $single = false ) {
Note: See TracChangeset for help on using the changeset viewer.