- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
r49308 r49927 214 214 * @param string $meta_key Key for the field. 215 215 * @param string $name Name for the field that is exposed in the REST API. 216 * @return bool|WP_Error True if meta field is deleted, WP_Error otherwise.216 * @return true|WP_Error True if meta field is deleted, WP_Error otherwise. 217 217 */ 218 218 protected function delete_meta_value( $object_id, $meta_key, $name ) { … … 256 256 * @param string $name Name for the field that is exposed in the REST API. 257 257 * @param array $values List of values to update to. 258 * @return bool|WP_Error True if meta fields are updated, WP_Error otherwise.258 * @return true|WP_Error True if meta fields are updated, WP_Error otherwise. 259 259 */ 260 260 protected function update_multi_meta_value( $object_id, $meta_key, $name, $values ) { … … 351 351 * @param string $name Name for the field that is exposed in the REST API. 352 352 * @param mixed $value Updated value. 353 * @return bool|WP_Error True if the meta field was updated, WP_Error otherwise.353 * @return true|WP_Error True if the meta field was updated, WP_Error otherwise. 354 354 */ 355 355 protected function update_meta_value( $object_id, $meta_key, $name, $value ) {
Note: See TracChangeset
for help on using the changeset viewer.