WC_REST_Product_Variations_V2_Controller
REST API variations controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
Methods Methods
- batch_items — Bulk create, update and delete items.
- clear_transients — Clear caches here so in sync with any new variations.
- delete_item — Delete a variation.
- get_item_schema — Get the Variation's schema, conforming to JSON Schema.
- get_object — Get object.
- prepare_links — Prepare links for the request.
- prepare_object_for_database — Prepare a single variation for create or update.
- prepare_object_for_response — Prepare a single variation output for response.
- prepare_objects_query — Prepare objects query.
- register_routes — Register the routes for products.
- update_item_permissions_check — Check if a given request has access to update an item.