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/post.php

    r48635 r48658  
    21212121 *                        Default false.
    21222122 * @return mixed An array if $single is false. The value of the meta field
    2123  *               if $single is true.
     2123 *               if $single is true. False for an invalid $post_id.
    21242124 */
    21252125function get_post_meta( $post_id, $key = '', $single = false ) {
Note: See TracChangeset for help on using the changeset viewer.