woocommerce_api_customers_bulk_response
Usage
add_filter( 'woocommerce_api_customers_bulk_response', 'wp_kama_woocommerce_api_customers_bulk_response_filter', 10, 2 ); /** * Function for `woocommerce_api_customers_bulk_response` filter-hook. * * @param $customers * @param $that * * @return */ function wp_kama_woocommerce_api_customers_bulk_response_filter( $customers, $that ){ // filter... return $customers; }
- $customers
- -
- $that
- -
Where the hook is called
woocommerce_api_customers_bulk_response
woocommerce/includes/legacy/api/v3/class-wc-api-customers.php 824
return array( 'customers' => apply_filters( 'woocommerce_api_customers_bulk_response', $customers, $this ) );
woocommerce/includes/legacy/api/v2/class-wc-api-customers.php 832
return array( 'customers' => apply_filters( 'woocommerce_api_customers_bulk_response', $customers, $this ) );