WordPress\AiClientDependencies\Psr\Http\Message

RequestInterface::getMethod │ public │ WP 1.0

Retrieves the HTTP method of the request.

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

Хуков нет.

Возвращает

string. Returns the request method.

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

$RequestInterface = new RequestInterface();
$RequestInterface->getMethod(): string;

Код RequestInterface::getMethod() WP 7.1.4

public function getMethod(): string;