Automattic\WooCommerce\Vendor\Detection
MobileDetect::getScriptVersion()
Get the current script version. This is useful for the demo.php file, so people can check on what version they are testing for mobile devices.
Method of the class: MobileDetect{}
No Hooks.
Return
String
. The version number in semantic version format.
Usage
$result = MobileDetect::getScriptVersion(): string;
MobileDetect::getScriptVersion() MobileDetect::getScriptVersion code WC 9.3.3
public static function getScriptVersion(): string { return self::VERSION; }