woocommerce_helper_denied хук-событиеWC 1.0

Fires when the Helper connection process is denied/cancelled.

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

add_action( 'woocommerce_helper_denied', 'wp_kama_woocommerce_helper_denied_action' );

/**
 * Function for `woocommerce_helper_denied` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_helper_denied_action(){

	// action...
}

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

WC_Helper::_helper_auth_return()
woocommerce_helper_denied
woocommerce/includes/admin/helper/class-wc-helper.php 777
do_action( 'woocommerce_helper_denied' );

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

woocommerce/includes/tracks/events/class-wc-extensions-tracking.php 20
add_action( 'woocommerce_helper_denied', array( $this, 'track_helper_connection_cancelled' ) );