Filter: gk/query-filters/date-range-picker/presets
Modifies the date range picker presets.
Parameters
| Name | Type | Description |
|---|---|---|
| $presets | array | Preset configurations with label and range keys. |
| $now | \DateTimeInterface | The current date and time, used to compute preset ranges. |
Since
- 2.9.0
Source
Defined in src/QueryFilters.php at line 760