apply_filters( 'disable_months_dropdown', bool $disable , string $post_type )
Filters whether to remove the ‘Months’ drop-down from the post list table.
Parameters
- $disable
-
Whether to disable the drop-down. Default false.
- $post_type
-
The post type.
Source
Changelog
| Version | Description |
|---|---|
| 4.2.0 | Introduced. |