WordPress\AiClient\Providers\Http\Collections
HeadersCollection::getAll
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() HeadersCollection::getAll WP 7.1.2
public function getAll(): array
{
return $this->headers;
}