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.
WP_REST_Terms_Controller::update_item
Updates a single term from a taxonomy.
WP_REST_Terms_Controller::update_item_permissions_check
Checks if a request has access to update the specified term.
Advertisement
rest_insert_{$this->taxonomy}
This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
WP_REST_Terms_Controller::create_item
Creates a single term in a taxonomy.
WP_REST_Terms_Controller::get_item
Gets a single term from a taxonomy.
WP_REST_Terms_Controller::create_item_permissions_check
Checks if a request has access to create a term.
Advertisement
WP_REST_Terms_Controller::get_item_permissions_check
Checks if a request has access to read or edit the specified term.
rest_{$this->taxonomy}_query
Filters the query arguments before passing them to get_terms().
WP_REST_Terms_Controller::get_items
Retrieves terms associated with a taxonomy.
WP_REST_Terms_Controller::get_items_permissions_check
Checks if a request has access to read terms in the specified taxonomy.
Advertisement
WP_REST_Terms_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Terms_Controller::__construct
Constructor.
WP_REST_Terms_Controller
Core class used to managed terms associated with a taxonomy via the REST API.