Automattic\WooCommerce\Vendor\Detection

MobileDetect::getPhoneDevices │ public static │ WC 1.0

Retrieve the list of known phone devices.

Метод класса: MobileDetect{}

Хуков нет.

Возвращает

array. List of phone devices.

Использование

$result = MobileDetect::getPhoneDevices(): array;

Код MobileDetect::getPhoneDevices() WC 11.2.2

public static function getPhoneDevices(): array
{
    return static::$phoneDevices;
}