Automattic\WooCommerce\Vendor\Detection

MobileDetect::getUaHttpHeaderspublicWC 1.0

Get all possible HTTP headers that can contain the User-Agent string.

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

Хуков нет.

Возвращает

Массив. List of HTTP headers.

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

$MobileDetect = new MobileDetect();
$MobileDetect->getUaHttpHeaders(): array;

Код MobileDetect::getUaHttpHeaders() WC 10.7.0

public function getUaHttpHeaders(): array
{
    return static::$uaHttpHeaders;
}