woocommerce_api_webhook_response filter-hookWC 1.0

Usage

add_filter( 'woocommerce_api_webhook_response', 'wp_kama_woocommerce_api_webhook_response_filter', 10, 4 );

/**
 * Function for `woocommerce_api_webhook_response` filter-hook.
 * 
 * @param  $webhook_data 
 * @param  $webhook      
 * @param  $fields       
 * @param  $that         
 *
 * @return 
 */
function wp_kama_woocommerce_api_webhook_response_filter( $webhook_data, $webhook, $fields, $that ){

	// filter...
	return $webhook_data;
}
$webhook_data
-
$webhook
-
$fields
-
$that
-

Where the hook is called

WC_API_Webhooks::get_webhook()
woocommerce_api_webhook_response
woocommerce/includes/legacy/api/v3/class-wc-api-webhooks.php 127
return array( 'webhook' => apply_filters( 'woocommerce_api_webhook_response', $webhook_data, $webhook, $fields, $this ) );
woocommerce/includes/legacy/api/v2/class-wc-api-webhooks.php 127
return array( 'webhook' => apply_filters( 'woocommerce_api_webhook_response', $webhook_data, $webhook, $fields, $this ) );

Where the hook is used in WooCommerce

Usage not found.