WC_REST_Tax_Classes_V1_Controller
REST API Tax Classes controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
Methods Methods
- create_item — Create a single tax class.
- create_item_permissions_check — Check if a given request has access create tax classes.
- delete_item — Delete a single tax class.
- delete_item_permissions_check — Check if a given request has access delete a tax.
- get_collection_params — Get the query params for collections.
- get_item_schema — Get the Tax Classes schema, conforming to JSON Schema
- get_items — Get all tax classes.
- get_items_permissions_check — Check whether a given request has permission to read tax classes.
- prepare_item_for_response — Prepare a single tax class output for response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for tax classes.