WordPress\AiClientDependencies\Psr\Http\Message
MessageInterface::withoutHeader
Return an instance without the specified header.
Header resolution MUST be done without case-sensitivity.
This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that removes the named header.
Метод класса: MessageInterface{}
Хуков нет.
Возвращает
static.
Использование
$MessageInterface = new MessageInterface(); $MessageInterface->withoutHeader( $name ): MessageInterface;
- $name(строка) (обязательный)
- Case-insensitive header field name to remove.
Код MessageInterface::withoutHeader() MessageInterface::withoutHeader WP 7.1.2
public function withoutHeader(string $name): MessageInterface;