woocommerce_order_query_args filter-hook . WC 1.0
Get orders matching the current query vars.
Usage
add_filter( 'woocommerce_order_query_args', 'filter_function_name_8093' ); function filter_function_name_8093( $query_vars ){ // filter... return $query_vars; }
- $query_vars
- -
Where the hook is called
woocommerce_order_query_args
woocommerce/includes/class-wc-order-query.php 85
$args = apply_filters( 'woocommerce_order_query_args', $this->get_query_vars() );