woocommerce_order_query_args

woocommerce_order_query_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_order_query_args') is found 1 times:

  • /includes/class-wc-order-query.php line 86

    Warning: Undefined array key 90 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 91 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 *
    	 * @throws Exception When WC_Data_Store validation fails.
    	 */
    	public function get_orders() {
    		$args    = apply_filters( 'woocommerce_order_query_args', $this->get_query_vars() );
    		$results = WC_Data_Store::load( 'order' )->query( $args );
    		return apply_filters( 'woocommerce_order_query', $results, $args );
    	}
    }