Automattic\WooCommerce\Admin\Composer

Package::is_notes_initialized()private staticWC 1.0

Checks if notes have been initialized.

Method of the class: Package{}

No Hooks.

Return

null. Nothing.

Usage

$result = Package::is_notes_initialized();

Package::is_notes_initialized() code WC 7.1.0

private static function is_notes_initialized() {
	try {
		Notes::load_data_store();
	} catch ( NotesUnavailableException $e ) {
		return false;
	}
	return true;
}