woocommerce_api_product_orders_response

woocommerce_api_product_orders_response

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

See hook in core

Displaying hooks found in version: woocommerce.8.8.3

apply_filters('woocommerce_api_product_orders_response') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-products.php line 544
    		) );
    
    		$orders = WC()->api->WC_API_Orders->get_orders( $fields, $filter, $status, $page );
    
    		return array( 'orders' => apply_filters( 'woocommerce_api_product_orders_response', $orders['orders'], $id, $filter, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get a listing of product categories
    	 *
    	 * @since 2.2
    
  • /includes/legacy/api/v3/class-wc-api-products.php line 603
    		) );
    
    		$orders = WC()->api->WC_API_Orders->get_orders( $fields, $filter, $status, $page );
    
    		return array( 'orders' => apply_filters( 'woocommerce_api_product_orders_response', $orders['orders'], $id, $filter, $fields, $this->server ) );
    	}
    
    	/**
    	 * Get a listing of product categories
    	 *
    	 * @since 2.2