Validate a request argument based on details registered to the route.
rest_authorization_required_code
Returns a contextual HTTP error code for authorization failure.
create_initial_rest_routes
Registers default REST API routes.
register_rest_field
Registers a new field on an existing WordPress object type.
Advertisement
WP_REST_User_Meta_Fields::get_rest_field_type
Retrieves the type for register_rest_field().
WP_REST_User_Meta_Fields::get_meta_type
Retrieves the object meta type.
WP_REST_User_Meta_Fields
Core class used to manage meta values for users via the REST API.
WP_REST_Term_Meta_Fields::get_rest_field_type
Retrieves the type for register_rest_field().
Advertisement
WP_REST_Term_Meta_Fields::get_meta_type
Retrieves the object meta type.
WP_REST_Term_Meta_Fields::__construct
Constructor.
WP_REST_Term_Meta_Fields
Core class used to manage meta values for terms via the REST API.
WP_REST_Post_Meta_Fields::get_rest_field_type
Retrieves the type for register_rest_field().
Advertisement
WP_REST_Post_Meta_Fields::get_meta_type
Retrieves the object meta type.
WP_REST_Post_Meta_Fields::__construct
Constructor.
WP_REST_Post_Meta_Fields
Core class used to manage meta values for posts via the REST API.