Automattic\WooCommerce\Admin\Features

TransientNotices::preload_options()publicWC 1.0

Preload options to prime state of the application.

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

No Hooks.

Return

Array.

Usage

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

Code of TransientNotices::preload_options() WC 6.7.0

public function preload_options( $options ) {
	$options[] = self::QUEUE_OPTION;

	return $options;
}