Automattic\WooCommerce\Vendor\Detection

MobileDetect::getPhoneDevices()public staticWC 1.0

Retrieve the list of known phone devices.

Method of the class: MobileDetect{}

No Hooks.

Return

Array. List of phone devices.

Usage

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

MobileDetect::getPhoneDevices() code WC 8.9.0

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