woocommerce_helper_connect_start

woocommerce_helper_connect_start

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_connect_start') is found 2 times:

  • /includes/admin/helper/class-wc-helper.php line 829
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    /**
     * Fires when the Helper connection process is initiated.
     */
    do_action( 'woocommerce_helper_connect_start' );
     
    $connect_url = add_query_arg(
        array(
            'home_url'           => rawurlencode( home_url() ),
            'redirect_uri'       => rawurlencode( $redirect_uri ),
            'secret'             => rawurlencode( $secret ),
  • /src/Admin/API/Plugins.php line 488
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    if ( empty( $secret ) ) {
        return new \WP_Error( 'woocommerce_rest_helper_connect', __( 'There was an error connecting to WooCommerce.com. Please try again.', 'woocommerce' ), 500 );
    }
     
    do_action( 'woocommerce_helper_connect_start' );
     
    $connect_url = add_query_arg(
        array(
            'home_url'     => rawurlencode( home_url() ),
            'redirect_uri' => rawurlencode( $redirect_uri ),
            'secret'       => rawurlencode( $secret ),

See this hook used in plugins: