WC_REST_Terms_Controller
Terms controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
Methods Methods
- batch_items_permissions_check — Check if a given request has access batch create, update and delete items.
- check_permissions — Check permissions.
- compare_terms — Comparison function for sorting terms by a column.
- create_item — Create a single term for a taxonomy.
- create_item_permissions_check — Check if a given request has access to create a term.
- delete_item — Delete a single term from a taxonomy.
- delete_item_permissions_check — Check if a given request has access to delete a term.
- get_collection_params — Get the query params for collections
- get_item — Get a single term from a taxonomy.
- get_item_permissions_check — Check if a given request has access to read a term.
- get_items — Get terms associated with a taxonomy.
- get_items_permissions_check — Check if a given request has access to read the terms.
- get_taxonomy — Get taxonomy.
- get_terms_for_product — Get the terms attached to a product.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for terms.
- update_item — Update a single term from a taxonomy.
- update_item_permissions_check — Check if a given request has access to update a term.
- update_term_meta_fields — Update term meta fields.