Automattic\WooCommerce\Vendor\Detection

MobileDetect::getScriptVersion()public staticWC 1.0

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() WC 9.5.1

public static function getScriptVersion(): string
{
    return self::VERSION;
}