Make WordPress Core

Changeset 61584


Ignore:
Timestamp:
02/03/2026 07:30:24 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document the $wp_meta_keys global in meta registration functions.

Follow-up to [37924].

Props noruzzaman, mukesh27.
See #64224.

File:
1 edited

Legend:

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

    r61463 r61584  
    13971397 * @since 6.4.0 The `$revisions_enabled` argument was added to the arguments array.
    13981398 * @since 6.7.0 The `label` argument was added to the arguments array.
     1399 *
     1400 * @global array $wp_meta_keys Global registry for meta keys.
    13991401 *
    14001402 * @param string       $object_type Type of object metadata is for. Accepts 'blog', 'post', 'comment', 'term',
     
    15681570 * @since 5.5.0
    15691571 *
     1572 * @global array $wp_meta_keys Global registry for meta keys.
     1573 *
    15701574 * @param mixed  $value     Current value passed to filter.
    15711575 * @param int    $object_id ID of the object metadata is for.
     
    16471651 * @since 4.9.8 The `$object_subtype` parameter was added.
    16481652 *
     1653 * @global array $wp_meta_keys Global registry for meta keys.
     1654 *
    16491655 * @param string $object_type    Type of object metadata is for. Accepts 'blog', 'post', 'comment', 'term',
    16501656 *                               'user', or any other object type with an associated meta table.
     
    16961702 * @since 4.6.0
    16971703 * @since 4.9.8 The `$object_subtype` parameter was added.
     1704 *
     1705 * @global array $wp_meta_keys Global registry for meta keys.
    16981706 *
    16991707 * @param string $object_type    Type of object metadata is for. Accepts 'blog', 'post', 'comment', 'term',
Note: See TracChangeset for help on using the changeset viewer.