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.9.3

apply_filters('woocommerce_api_product_orders_response') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-products.php line 544
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
        ) );
     
        $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
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
        ) );
     
        $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