Changeset 48777
- Timestamp:
- 08/10/2020 03:40:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r48591 r48777 591 591 592 592 /** 593 * Retrieves default metadata value for the specified object.593 * Retrieves default metadata value for the specified meta key and object. 594 594 * 595 595 * By default, an empty string is returned if `$single` is true, or an empty array … … 614 614 615 615 /** 616 * Filter the default value for a specified object.616 * Filter the default metadata value for a specified meta key and object. 617 617 * 618 618 * The dynamic portion of the hook, `$meta_type`, refers to the meta object type 619 * (post, comment, term, user, or any other type with an associated meta table). 619 * (post, comment, term, user, blog, or any other type with an associated meta 620 * table). Possible filter names include: 621 * 622 * - `default_post_metadata` 623 * - `default_comment_metadata` 624 * - `default_term_metadata` 625 * - `default_user_metadata` 620 626 * 621 627 * @since 5.5.0 … … 1228 1234 * @since 4.9.8 The `$object_subtype` argument was added to the arguments array. 1229 1235 * @since 5.3.0 Valid meta types expanded to include "array" and "object". 1236 * @since 5.5.0 The `$default` argument was added to the arguments array. 1230 1237 * 1231 1238 * @param string $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user',
Note: See TracChangeset
for help on using the changeset viewer.