Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingSetupWizard::preload_settings()publicWC 1.0

Preload WC setting options to prime state of the application.

Method of the class: OnboardingSetupWizard{}

No Hooks.

Return

Array.

Usage

$OnboardingSetupWizard = new OnboardingSetupWizard();
$OnboardingSetupWizard->preload_settings( $options );
$options(array) (required)
Array of options to preload.

OnboardingSetupWizard::preload_settings() code WC 7.1.0

public function preload_settings( $options ) {
	$options[] = 'general';

	return $options;
}