WordPress\AiClientDependencies\Psr\Http\Message
RequestInterface::getMethod
Retrieves the HTTP method of the request.
Method of the class: RequestInterface{}
No Hooks.
Returns
String. Returns the request method.
Usage
$RequestInterface = new RequestInterface(); $RequestInterface->getMethod(): string;
RequestInterface::getMethod() RequestInterface::getMethod code WP 7.0
public function getMethod(): string;