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.
WP_REST_Terms_Controller::prepare_links
Prepares links for the request.
Advertisement
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.
WP_REST_Terms_Controller::prepare_item_for_database
Prepares a single term for create or update.
Advertisement
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.
WP_REST_Terms_Controller::delete_item
Deletes a single term from a taxonomy.
WP_REST_Terms_Controller::delete_item_permissions_check
Checks if a request has access to delete the specified term.
Advertisement
WP_REST_Terms_Controller::update_item
Updates a single term from a taxonomy.
rest_after_insert_{$this->taxonomy}
This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
WP_REST_Terms_Controller::update_item_permissions_check
Checks if a request has access to update the specified term.