Filter: dt_get_pull_content_rest_query_args

apply_filters( 'dt_get_pull_content_rest_query_args', $args, $request ) → {array}

Filters WP_Query arguments when querying posts via the REST API.

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

Parameters:
Name Type Description
$args array

Array of arguments for WP_Query.

$request WP_REST_Request

The REST API request.

Source:
Returns:

The array of arguments for WP_Query.

Type
array