WC_AJAX::json_search_products_and_variations
Search for product variations and return json.
Method of the class: WC_AJAX{}
No Hooks.
Returns
void. Nothing (null).
Usage
$result = WC_AJAX::json_search_products_and_variations();
Notes
| See: WC_AJAX::json_search_products() |
WC_AJAX::json_search_products_and_variations() WC AJAX::json search products and variations code WC 11.0.1
public static function json_search_products_and_variations() {
self::json_search_products( '', true );
}