Automattic\WooCommerce\Vendor\Detection

MobileDetect::getCfHeaderspublicWC 1.0

Retrieves the cloudfront headers.

Method of the class: MobileDetect{}

No Hooks.

Returns

Array.

Usage

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

MobileDetect::getCfHeaders() code WC 10.3.6

public function getCfHeaders(): array
{
    return $this->cloudfrontHeaders;
}