woocommerce_order_list_table_prepare_items_query_args

woocommerce_order_list_table_prepare_items_query_args

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.6.9.0

apply_filters('woocommerce_order_list_table_prepare_items_query_args') is found 1 times:

  • /src/Internal/Admin/Orders/ListTable.php line 192
    		 * @since 6.9.0
    		 *
    		 * @param array $query_args Arguments to be passed to `wc_get_orders()`.
    		 */
    		$orders      = wc_get_orders( (array) apply_filters( 'woocommerce_order_list_table_prepare_items_query_args', $this->order_query_args ) );
    		$this->items = $orders->orders;
    
    		$this->set_pagination_args(
    			array(
    				'total_items' => $orders->total ?? 0,
    				'per_page'    => $limit,