WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Composer

Package::is_notes_initialized() private WC 1.0

Checks if notes have been initialized.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Package::is_notes_initialized();

Code of Package::is_notes_initialized() WC 5.3.0

<?php
private static function is_notes_initialized() {
	try {
		\WC_Data_Store::load( 'admin-note' );
	} catch ( \Exception $e ) {
		return false;
	}
	return true;
}