Filters the query arguments for a REST API term search request.
Description
Enables adding extra arguments or setting defaults for a term search request.
Parameters
$query_args
array- Key value array of query var to query value.
$request
WP_REST_Request- The request used.
Source
$query_args = apply_filters( 'rest_term_search_query', $query_args, $request );
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.