Checks for a valid value for the reassign parameter when deleting users.
WP_REST_Users_Controller::get_items_permissions_check
Permissions check for getting all users.
WP_REST_Users_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Users_Controller::__construct
Constructor.
Advertisement
WP_REST_Users_Controller
Core class used to manage users via the REST API.
WP_REST_Terms_Controller::check_is_taxonomy_allowed
Checks that the taxonomy is valid.
rest_{$this->taxonomy}_collection_params
Filter collection parameters for the terms controller.
WP_REST_Terms_Controller::get_collection_params
Retrieves the query params for collections.
Advertisement
WP_REST_Terms_Controller::prepare_links
Prepares links for the request.
WP_REST_Terms_Controller::get_item_schema
Retrieves the term’s schema, conforming to JSON Schema.
rest_prepare_{$this->taxonomy}
Filters a term item returned from the API.
WP_REST_Terms_Controller::prepare_item_for_response
Prepares a single term output for response.
Advertisement
WP_REST_Terms_Controller::prepare_item_for_database
Prepares a single term for create or update.
rest_pre_insert_{$this->taxonomy}
Filters term data before inserting term via the REST API.
rest_delete_{$this->taxonomy}
Fires after a single term is deleted via the REST API.