Automattic\WooCommerce\Vendor\Detection

MobileDetect::getUaHttpHeaderspublicWC 1.0

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

Method of the class: MobileDetect{}

No Hooks.

Returns

Array. List of HTTP headers.

Usage

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

MobileDetect::getUaHttpHeaders() code WC 10.4.3

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