WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана


MessageInterface::withHeader() public Yoast 1.0

Return an instance with the provided value replacing the specified header.

While header names are case-insensitive, the casing of the header will be preserved by this function, and returned from getHeaders().

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the new and/or updated header and value.

{} Это метод класса: MessageInterface{}

Хуков нет.


static. Null. Ничего.


$MessageInterface = new MessageInterface();
$MessageInterface->withHeader( $name, $value );
$name(строка) (обязательный)
Case-insensitive header field name.
$value(строка/строка[]) (обязательный)
Header value(s).

Код MessageInterface::withHeader() Yoast 16.1.1

public function withHeader($name, $value);