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


MessageInterface::withAddedHeader() public Yoast 1.0

Return an instance with the specified header appended with the given value.

Existing values for the specified header will be maintained. The new value(s) will be appended to the existing list. If the header did not exist previously, it will be added.

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 header and/or value.

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

Хуков нет.




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

Код MessageInterface::withAddedHeader() Yoast 17.1

public function withAddedHeader($name, $value);