Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

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:419

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:594

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:608

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:35

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:572

Used by 0 functions | Uses 0 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:510

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:544

Used by 0 functions | Uses 3 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:223

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:269

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:368

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:438

Used by 4 functions | Uses 4 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:125

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:142

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:16

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:26

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:46

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:56

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:79

Used by 0 functions | Uses 4 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • 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
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry