Automattic\WooCommerce\Internal\Admin
Homescreen::preload_options
Preload options to prime state of the application.
Method of the class: Homescreen{}
No Hooks.
Returns
Array.
Usage
$Homescreen = new Homescreen(); $Homescreen->preload_options( $options );
- $options(array) (required)
- Array of options to preload.
Homescreen::preload_options() Homescreen::preload options code WC 10.8.1
public function preload_options( $options ) {
$options[] = 'woocommerce_default_homepage_layout';
$options[] = 'woocommerce_admin_install_timestamp';
return $options;
}