woocommerce_order_query

woocommerce_order_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_order_query') is found 1 times:

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

    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

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

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

    	 */
    	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 );
    	}
    }
    
    
    
    
    

See this hook used in plugins: