• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/rest-api/fields/class-wp-rest-meta-fields.php

WP_REST_Meta_Fields::is_meta_value_same_as_stored_value()

Method: Checks if the user provided value is equivalent to a stored value for the given meta key.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:418

Used by 2 functions | Uses 3 functions

WP_REST_Meta_Fields::default_additional_properties_to_false()

Method: Recursively add additionalProperties = false to all objects in a schema if no additionalProperties setting is specified.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:593

Used by 0 functions | Uses 2 functions

WP_REST_Meta_Fields::get_empty_value_for_type()

Method: Gets the empty value for a schema type.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:607

Used by 0 functions | Uses 0 functions

WP_REST_Meta_Fields::get_meta_subtype()

Method: Retrieves the object meta subtype.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:34

Used by 1 function | Uses 0 functions

WP_REST_Meta_Fields::check_meta_is_array()

Method: Check the ‘meta’ value of a request is an associative array.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:571

Used by 0 functions | Uses 0 functions

WP_REST_Meta_Fields::delete_meta_value()

Method: Deletes a meta value for an object.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:222

Used by 1 function | Uses 8 functions

WP_REST_Meta_Fields::update_multi_meta_value()

Method: Updates multiple meta values for an object.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:268

Used by 1 function | Uses 11 functions

WP_REST_Meta_Fields::update_meta_value()

Method: Updates a meta value for an object.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:367

Used by 1 function | Uses 10 functions

WP_REST_Meta_Fields::get_registered_fields()

Method: Retrieves all the registered meta fields.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:437

Used by 4 functions | Uses 4 functions

WP_REST_Meta_Fields::get_field_schema()

Method: Retrieves the object’s meta schema, conforming to JSON Schema.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:509

Used by 1 function | Uses 2 functions

WP_REST_Meta_Fields::prepare_value()

Method: Prepares a meta value for output.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:543

Used by 0 functions | Uses 3 functions

WP_REST_Meta_Fields::prepare_value_for_response()

Method: Prepares a meta value for a response.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:124

Used by 1 function | Uses 0 functions

WP_REST_Meta_Fields::update_value()

Method: Updates meta values.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:141

Used by 0 functions | Uses 11 functions

WP_REST_Meta_Fields

Class: Core class to manage meta values for an object via the REST API.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:15

Used by 4 functions | Uses 0 functions

WP_REST_Meta_Fields::get_meta_type()

Method: Retrieves the object meta type.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:25

Used by 7 functions | Uses 0 functions

WP_REST_Meta_Fields::get_rest_field_type()

Method: Retrieves the object type for register_rest_field().

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:45

Used by 1 function | Uses 0 functions

WP_REST_Meta_Fields::register_field()

Method: Registers the meta field.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:55

Used by 0 functions | Uses 4 functions

WP_REST_Meta_Fields::get_value()

Method: Retrieves the meta field value.

Source: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php:78

Used by 0 functions | Uses 4 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry