Changeset 48779 for branches/5.5/src/wp-includes/meta.php
- Timestamp:
- 08/10/2020 03:52:01 PM (5 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
- Property svn:mergeinfo changed
/trunk merged: 48777-48778
- Property svn:mergeinfo changed
-
branches/5.5/src/wp-includes/meta.php
r48591 r48779 544 544 * Returning a non-null value will effectively short-circuit the function. 545 545 * 546 * Possible filter names include: 547 * 548 * - `get_post_metadata` 549 * - `get_comment_metadata` 550 * - `get_term_metadata` 551 * - `get_user_metadata` 552 * 546 553 * @since 3.1.0 547 554 * @since 5.5.0 Added the `$meta_type` parameter. … … 591 598 592 599 /** 593 * Retrieves default metadata value for the specified object.600 * Retrieves default metadata value for the specified meta key and object. 594 601 * 595 602 * By default, an empty string is returned if `$single` is true, or an empty array … … 614 621 615 622 /** 616 * Filter the default value for a specified object.623 * Filters the default metadata value for a specified meta key and object. 617 624 * 618 625 * The dynamic portion of the hook, `$meta_type`, refers to the meta object type 619 626 * (post, comment, term, user, or any other type with an associated meta table). 627 * 628 * Possible filter names include: 629 * 630 * - `default_post_metadata` 631 * - `default_comment_metadata` 632 * - `default_term_metadata` 633 * - `default_user_metadata` 620 634 * 621 635 * @since 5.5.0 … … 1228 1242 * @since 4.9.8 The `$object_subtype` argument was added to the arguments array. 1229 1243 * @since 5.3.0 Valid meta types expanded to include "array" and "object". 1244 * @since 5.5.0 The `$default` argument was added to the arguments array. 1230 1245 * 1231 1246 * @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.