woocommerce_helper_subscription_activate_success

woocommerce_helper_subscription_activate_success

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_helper_subscription_activate_success') is found 2 times:

  • /includes/admin/helper/class-wc-helper.php line 1088
    			 * @param int    $product_id Product ID being activated.
    			 * @param string $product_key Subscription product key.
    			 * @param array  $activation_response The response object from wp_safe_remote_request().
    			 */
    			do_action( 'woocommerce_helper_subscription_activate_success', $product_id, $product_key, $activation_response );
    		} else {
    			/**
    			 * Fires when the Helper fails to activate a product.
    			 *
    			 * @param int    $product_id Product ID being activated.
    			 * @param string $product_key Subscription product key.
    
  • /includes/admin/helper/class-wc-helper.php line 2028
    			 * @param int    $product_id Product ID being activated.
    			 * @param string $product_key Subscription product key.
    			 * @param array  $activation_response The response object from wp_safe_remote_request().
    			 */
    			do_action( 'woocommerce_helper_subscription_activate_success', $product_id, $product_key, $activation_response );
    		} else {
    			self::log( 'Could not activate a subscription upon plugin activation: ' . $filename );
    
    			/**
    			 * Fires when the Helper fails to activate a product.
    			 *