wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
Lines:
1 to 31 of 31
<?php /** * REST API: WP_REST_Meta_Fields class * * @package WordPress * @subpackage REST_API * @since 4.7.0 */ #[AllowDynamicProperties] /* class WP_REST_Meta_Fields */ /* function WP_REST_Meta_Fields::get_meta_type() – Retrieves the object meta type. */ /* function WP_REST_Meta_Fields::get_meta_subtype() – Retrieves the object meta subtype. */ /* function WP_REST_Meta_Fields::get_rest_field_type() – Retrieves the object type for register_rest_field(). */ /* function WP_REST_Meta_Fields::register_field() – Registers the meta field. */ /* function WP_REST_Meta_Fields::get_value() – Retrieves the meta field value. */ /* function WP_REST_Meta_Fields::prepare_value_for_response() – Prepares a meta value for a response. */ /* function WP_REST_Meta_Fields::update_value() – Updates meta values. */ /* function WP_REST_Meta_Fields::delete_meta_value() – Deletes a meta value for an object. */ /* function WP_REST_Meta_Fields::update_multi_meta_value() – Updates multiple meta values for an object. */ /* function WP_REST_Meta_Fields::update_meta_value() – Updates a meta value for an object. */ /* function WP_REST_Meta_Fields::is_meta_value_same_as_stored_value() – Checks if the user provided value is equivalent to a stored value for the given meta key. */ /* function WP_REST_Meta_Fields::get_registered_fields() – Retrieves all the registered meta fields. */ /* function WP_REST_Meta_Fields::get_field_schema() – Retrieves the object’s meta schema, conforming to JSON Schema. */ /* function WP_REST_Meta_Fields::prepare_value() – Prepares a meta value for output. */ /* function WP_REST_Meta_Fields::check_meta_is_array() – Check the ‘meta’ value of a request is an associative array. */ /* function WP_REST_Meta_Fields::default_additional_properties_to_false() – Recursively add additionalProperties = false to all objects in a schema if no additionalProperties setting is specified. */ /* function WP_REST_Meta_Fields::get_empty_value_for_type() – Gets the empty value for a schema type. */