Automattic\WooCommerce\Vendor\Detection

MobileDetect::getPhoneDevices()public staticWC 1.0

Retrieve the list of known phone devices.

Method of the class: MobileDetect{}

No Hooks.

Returns

Array. List of phone devices.

Usage

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

MobileDetect::getPhoneDevices() code WC 9.8.4

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