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.
Метод класса: MobileDetect{}
Хуков нет.
Возвращает
Строку. The version number in semantic version format.
Использование
$result = MobileDetect::getScriptVersion(): string;
Код MobileDetect::getScriptVersion() MobileDetect::getScriptVersion WC 10.4.3
public static function getScriptVersion(): string
{
return self::VERSION;
}