WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::getQueryParamspublicWP 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.

Method of the class: ServerRequestInterface{}

No Hooks.

Returns

Array.

Usage

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

ServerRequestInterface::getQueryParams() code WP 7.0

public function getQueryParams(): array;