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

YoastSEO_Vendor\Psr\Http\Message

RequestInterface::withMethod() public Yoast 1.0

Return an instance with the provided HTTP method.

While HTTP method names are typically all uppercase characters, HTTP method names are case-sensitive and thus implementations SHOULD NOT modify the given string.

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 changed request method.

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

Хуков нет.

Возвращает

static.

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

$RequestInterface = new RequestInterface();
$RequestInterface->withMethod( $method );
$method(строка) (обязательный)
Case-sensitive method.

Код RequestInterface::withMethod() Yoast 15.3

<?php
public function withMethod($method);