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

Fires when the Helper connection process has completed successfully.

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

add_action( 'woocommerce_helper_connected', 'wp_kama_woocommerce_helper_connected_action' );

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

	// action...
}

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

WC_Helper::_helper_auth_return()
woocommerce_helper_connected
Plugins::finish_wccom_connect()
woocommerce_helper_connected
woocommerce/includes/admin/helper/class-wc-helper.php 836
do_action( 'woocommerce_helper_connected' );
woocommerce/src/Admin/API/Plugins.php 533
do_action( 'woocommerce_helper_connected' );

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

woocommerce/includes/tracks/events/class-wc-extensions-tracking.php 21
add_action( 'woocommerce_helper_connected', array( $this, 'track_helper_connection_complete' ) );
woocommerce/src/Internal/Admin/Onboarding/OnboardingSync.php 38
add_action( 'woocommerce_helper_connected', array( $this, 'send_profile_data_on_connect' ) );