Automattic\WooCommerce\Vendor\Detection

MobileDetect::getHttpHeaders()publicWC 1.0

Retrieves the HTTP headers.

Method of the class: MobileDetect{}

No Hooks.

Returns

Array.

Usage

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

MobileDetect::getHttpHeaders() code WC 9.8.5

public function getHttpHeaders(): array
{
    return $this->httpHeaders;
}