Changeset 49927 for trunk/src/wp-includes/meta.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r49699 r49927 772 772 * @global wpdb $wpdb WordPress database abstraction object. 773 773 * 774 * @param string $meta_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user',775 * or any other object type with an associated meta table.776 * @param int $meta_id ID for a specific meta row.777 * @param string $meta_value Metadata value. Must be serializable if non-scalar.778 * @param string $meta_key Optional. You can provide a meta key to update it. Default false.774 * @param string $meta_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', 775 * or any other object type with an associated meta table. 776 * @param int $meta_id ID for a specific meta row. 777 * @param string $meta_value Metadata value. Must be serializable if non-scalar. 778 * @param string|false $meta_key Optional. You can provide a meta key to update it. Default false. 779 779 * @return bool True on successful update, false on failure. 780 780 */ … … 809 809 * @since 5.0.0 810 810 * 811 * @param null|bool $check Whether to allow updating metadata for the given type.812 * @param int $meta_id Meta ID.813 * @param mixed $meta_value Meta value. Must be serializable if non-scalar.814 * @param string| bool$meta_key Meta key, if provided.811 * @param null|bool $check Whether to allow updating metadata for the given type. 812 * @param int $meta_id Meta ID. 813 * @param mixed $meta_value Meta value. Must be serializable if non-scalar. 814 * @param string|false $meta_key Meta key, if provided. 815 815 */ 816 816 $check = apply_filters( "update_{$meta_type}_metadata_by_mid", null, $meta_id, $meta_value, $meta_key );
Note: See TracChangeset
for help on using the changeset viewer.