Automattic\WooCommerce\Blocks\Domain

Package::get_version_stored_on_db()publicWC 1.0

Returns the version of WooCommerce Blocks stored in the database.

Method of the class: Package{}

No Hooks.

Return

String.

Usage

$Package = new Package();
$Package->get_version_stored_on_db();

Package::get_version_stored_on_db() code WC 9.7.1

public function get_version_stored_on_db() {
	return get_option( Options::WC_BLOCK_VERSION, '' );
}