Automattic\WooCommerce\Internal\Admin

Homescreen::preload_options()publicWC 1.0

Preload options to prime state of the application.

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

No Hooks.

Return

Array.

Usage

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

Code of Homescreen::preload_options() WC 7.1.0

public function preload_options( $options ) {
	$options[] = 'woocommerce_default_homepage_layout';
	$options[] = 'woocommerce_admin_install_timestamp';

	return $options;
}