Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingProducts::get_product_types_with_data()public staticWC 1.0

Get the allowed product types with the polled data.

Method of the class: OnboardingProducts{}

No Hooks.

Return

Array.

Usage

$result = OnboardingProducts::get_product_types_with_data();

OnboardingProducts::get_product_types_with_data() code WC 8.6.1

public static function get_product_types_with_data() {
	return self::get_product_data( self::get_allowed_product_types() );
}