Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingIndustries::preload_data()public staticWC 1.0

Add preloaded data to onboarding.

{} It's a method of the class: OnboardingIndustries{}

No Hooks.

Return

Array.

Usage

$result = OnboardingIndustries::preload_data( $settings );
$settings(array) (required)
Component settings.

Code of OnboardingIndustries::preload_data() WC 7.1.0

public static function preload_data( $settings ) {
	$settings['onboarding']['industries'] = self::get_allowed_industries();
	return $settings;
}