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.3.3

do_action('woocommerce_helper_connect_start') is found 2 times:

  • /includes/admin/helper/class-wc-helper.php line 828
     
    		/**
    		 * 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 453
    		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: