crp_rest_api_get_item_params
Filters the query parameters accepted by the related posts REST endpoint.
Type: filter
Since: 3.1.0
Source: includes/frontend/class-rest-api.php line 215
Parameters
| Type | Name | Description |
|---|---|---|
array |
$args |
Collection parameters, keyed by parameter name. |
Usage
add_filter( 'crp_rest_api_get_item_params', function($args) {
// ...
return $args;
} );