woocommerce_webhook_event filter-hookWC 1.0

Usage

add_filter( 'woocommerce_webhook_event', 'wp_kama_woocommerce_webhook_event_filter', 10, 2 );

/**
 * Function for `woocommerce_webhook_event` filter-hook.
 * 
 * @param  $topic[1] 
 * @param  $id       
 *
 * @return 
 */
function wp_kama_woocommerce_webhook_event_filter( $topic[1], $id ){

	// filter...
	return $topic[1];
}
$topic[1]
-
$id
-

Where the hook is called

WC_Webhook::get_event()
woocommerce_webhook_event
woocommerce/includes/class-wc-webhook.php 1066
return apply_filters( 'woocommerce_webhook_event', isset( $topic[1] ) ? $topic[1] : '', $this->get_id() );

Where the hook is used in WooCommerce

Usage not found.