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

Fires when the Helper connection process is initiated.

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

add_action( 'woocommerce_helper_connect_start', 'wp_kama_woocommerce_helper_connect_start_action' );

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

	// action...
}

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

WC_Helper::_helper_auth_connect()
woocommerce_helper_connect_start
Plugins::request_wccom_connect()
woocommerce_helper_connect_start
woocommerce/includes/admin/helper/class-wc-helper.php 748
do_action( 'woocommerce_helper_connect_start' );
woocommerce/src/Admin/API/Plugins.php 452
do_action( 'woocommerce_helper_connect_start' );

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

woocommerce/includes/tracks/events/class-wc-extensions-tracking.php 19
add_action( 'woocommerce_helper_connect_start', array( $this, 'track_helper_connection_start' ) );