WordPress\AiClient\Providers\Http\Collections

HeadersCollection::getAllpublicWP 0.1.0

Gets all headers.

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

Хуков нет.

Возвращает

array<string,. list<string>> All headers with their original casing.

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

$HeadersCollection = new HeadersCollection();
$HeadersCollection->getAll(): array;

Список изменений

С версии 0.1.0 Введена.

Код HeadersCollection::getAll() WP 7.1.2

public function getAll(): array
{
    return $this->headers;
}