woocommerce_helper_connected

woocommerce_helper_connected

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('woocommerce_helper_connected') is found 2 times:

  • /includes/admin/helper/class-wc-helper.php line 918
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    /**
     * Fires when the Helper connection process has completed successfully.
     */
    do_action( 'woocommerce_helper_connected' );
     
    // Enable tracking when connected.
    if ( class_exists( 'WC_Tracker' ) ) {
        $prev_value = get_option( 'woocommerce_allow_tracking', 'no' );
        update_option( 'woocommerce_allow_tracking', 'yes' );
        WC_Tracker::send_tracking_data( true );
  • /src/Admin/API/Plugins.php line 569
    566
    567
    568
    569
    570
    571
    572
    573
    574
        delete_transient( '_woocommerce_helper_subscriptions' );
        \WC_Helper_Updater::flush_updates_cache();
     
        do_action( 'woocommerce_helper_connected' );
     
        return array(
            'success' => true,
        );
    }

See this hook used in plugins: