WC_REST_Product_Attributes_V1_Controller
REST API Product Attributes controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
Methods Methods
- batch_items_permissions_check — Check if a given request has access batch create, update and delete items.
- create_item — Create a single attribute.
- create_item_permissions_check — Check if a given request has access to create a attribute.
- delete_item — Delete a single attribute.
- delete_item_permissions_check — Check if a given request has access to delete a attribute.
- flush_rewrite_rules — Schedule to flush rewrite rules. — deprecated
- get_attribute — Get attribute data.
- get_collection_params — Get the query params for collections
- get_item — Get a single attribute.
- get_item_permissions_check — Check if a given request has access to read a attribute.
- get_item_schema — Get the Attribute's schema, conforming to JSON Schema.
- get_items — Get all attributes.
- get_items_permissions_check — Check if a given request has access to read the attributes.
- get_taxonomy — Get attribute name.
- prepare_item_for_response — Prepare a single product attribute output for response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for product attributes.
- update_item — Update a single term from a taxonomy.
- update_item_permissions_check — Check if a given request has access to update a attribute.
- validate_attribute_slug — Validate attribute slug. — deprecated