Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingProducts::get_product_types_with_data()public staticWC 1.0

Get the allowed product types with the polled data.

Метод класса: OnboardingProducts{}

No Hooks.

Return

Array.

Usage

$result = OnboardingProducts::get_product_types_with_data();

Code of OnboardingProducts::get_product_types_with_data() WC 7.1.0

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