woocommerce_webhook_topic_hooks хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_webhook_topic_hooks', 'wp_kama_woocommerce_webhook_topic_hooks_filter', 10, 2 );

/**
 * Function for `woocommerce_webhook_topic_hooks` filter-hook.
 * 
 * @param  $topic_hooks 
 * @param  $that        
 *
 * @return 
 */
function wp_kama_woocommerce_webhook_topic_hooks_filter( $topic_hooks, $that ){

	// filter...
	return $topic_hooks;
}
$topic_hooks
-
$that
-

Где вызывается хук

WC_Webhook::get_topic_hooks()
woocommerce_webhook_topic_hooks
woocommerce/includes/class-wc-webhook.php 1018
$topic_hooks = apply_filters( 'woocommerce_webhook_topic_hooks', $topic_hooks, $this );

Где используется хук в WooCommerce

Использование не найдено.