wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_post_format_search_query › WordPress Filter Hooks

Since5.6.0
Deprecatedn/a
apply_filters( 'rest_post_format_search_query', $query_args, $request )
Parameters: (2)
  • (array) $query_args Key value array of query var to query value.
    Required: Yes
  • (WP_REST_Request) $request The request used.
    Required: Yes
Defined at:
Codex:

Filters the query arguments for a REST API post format search request.

Enables adding extra arguments or setting defaults for a post format search request.





Source

$query_args = apply_filters( 'rest_post_format_search_query', $query_args, $request );