ProductVariations
Product variations controller.
Description Description
Source Source
File: packages/woocommerce-admin/src/API/ProductVariations.php
Methods Methods
- add_wp_query_filter — Add in conditional search filters for variations.
- add_wp_query_join — Join posts meta tables when variation search query is present.
- get_collection_params — Get the query params for collections.
- get_item_schema — Get the Product's schema, conforming to JSON Schema.
- get_items — Get a collection of posts and add the post title filter option to WP_Query.
- prepare_object_for_response — Prepare a single variation output for response.
- prepare_objects_query — Add product name and sku filtering to the WC API.
- register_routes — Register the routes for products.