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