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

    r48600 r48658  
    12931293 *                        Default false.
    12941294 * @return mixed An array if $single is false. The value of the meta field
    1295  *               if $single is true.
     1295 *               if $single is true. False for an invalid $term_id.
    12961296 */
    12971297function get_term_meta( $term_id, $key = '', $single = false ) {
Note: See TracChangeset for help on using the changeset viewer.