Automattic\WooCommerce\Admin\Features

Onboarding::get_allowed_product_typespublic staticWC 1.0

Deprecated since 6.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Get a list of allowed product types for the onboarding wizard.

Method of the class: Onboarding{}

No Hooks.

Returns

Array.

Usage

$result = Onboarding::get_allowed_product_types();

Changelog

Deprecated since 6.3.0

Onboarding::get_allowed_product_types() code WC 9.9.5

public static function get_allowed_product_types() {
	wc_deprecated_function( 'get_allowed_product_types', '6.3', '\Automattic\WooCommerce\Internal\Admin\OnboardingProducts::get_allowed_product_types()' );
	return \Automattic\WooCommerce\Internal\Admin\Onboarding\OnboardingProducts::get_allowed_product_types();
}