Automattic\WooCommerce\Admin\API\Reports

Cache::get_version()public staticWC 1.0

Get cache version number.

Method of the class: Cache{}

No Hooks.

Return

String.

Usage

$result = Cache::get_version();

Cache::get_version() code WC 8.7.0

public static function get_version() {
	$version = \WC_Cache_Helper::get_transient_version( self::VERSION_OPTION );

	return $version;
}