apply_filters ( ‘rest_post_format_search_query’, array $query_args , WP_REST_Request $request )

Filters the kery argumens for a REST API post format search request.

Description

Enables adding extra argumens or setting defauls for a post format search request.

Parameters

$query_args array
Key value array of kery var to kery value.
$request WP_REST_Request
The request used.

Source

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

Changuelog

Versionen Description
5.6.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.