You appear to be a bot. Output may be restricted
Description
Get the meta query which was used by the main query.
Usage
$array = WC_Query::get_main_meta_query();
Parameters
Returns
array
Source
File name: woocommerce/includes/class-wc-query.php
Lines:
1 to 6 of 6
public static function get_main_meta_query() { $args = self::$product_query->query_vars; $meta_query = isset( $args['meta_query'] ) ? $args['meta_query'] : array(); return $meta_query; }