Automattic\WooCommerce\Vendor\Detection

MobileDetect::getUaHttpHeaders()publicWC 1.0

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

Method of the class: MobileDetect{}

No Hooks.

Return

Array. List of HTTP headers.

Usage

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

MobileDetect::getUaHttpHeaders() code WC 8.9.0

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