Summery Summery
Filters the query arguments for a search request.
Syntax Syntax
Description Description
Enables adding extra arguments or setting defaults for a post search request.
Parameters Parameters
- $query_args
-
Key value array of query var to query value.
- $request
-
The request used.
Source Source
File: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |