WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::getQueryParams │ public │ WP 1.0

Retrieve query string arguments.

Retrieves the deserialized query string arguments, if any.

Note: the query params might not be in sync with the URI or server params. If you need to ensure you are only getting the original values, you may need to parse the query string from getUri()->getQuery() or from the QUERY_STRING server param.

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

Хуков нет.

Возвращает

array.

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

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->getQueryParams(): array;

Код ServerRequestInterface::getQueryParams() WP 7.1.4

public function getQueryParams(): array;