Automattic\WooCommerce\Internal\Admin

Marketing::preload_options()publicWC 1.0

Preload options to prime state of the application.

Method of the class: Marketing{}

No Hooks.

Return

Array.

Usage

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

Marketing::preload_options() code WC 7.1.0

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

	return $options;
}