woocommerce_admin_onboarding_product_types

woocommerce_admin_onboarding_product_types

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_admin_onboarding_product_types') is found 1 times:

  • /src/Internal/Admin/Onboarding/OnboardingProducts.php line 71
    		if ( ! Features::is_enabled( 'subscriptions' ) || 'US' !== $base_location['country'] || $has_cbd_industry ) {
    			$products['subscriptions']['product'] = 27147;
    		}
    
    		return apply_filters( 'woocommerce_admin_onboarding_product_types', $products );
    	}
    
    	/**
    	 * Get dynamic product data from API.
    	 *
    	 * @param array $product_types Array of product types.