woocommerce_webhook_resource filter-hookWC 1.0

Usage

add_filter( 'woocommerce_webhook_resource', 'wp_kama_woocommerce_webhook_resource_filter', 10, 2 );

/**
 * Function for `woocommerce_webhook_resource` filter-hook.
 * 
 * @param  $topic[0] 
 * @param  $id       
 *
 * @return 
 */
function wp_kama_woocommerce_webhook_resource_filter( $topic[0], $id ){

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

Where the hook is called

WC_Webhook::get_resource()
woocommerce_webhook_resource
woocommerce/includes/class-wc-webhook.php 1048
return apply_filters( 'woocommerce_webhook_resource', $topic[0], $this->get_id() );

Where the hook is used in WooCommerce

Usage not found.