apply_filters( 'disable_months_dropdown', bool $disable, string $post_type )

Filters whether to remove the ‘Months’ drop-down from the post list table.

Parameters Parameters


(bool) Whether to disable the drop-down. Default false.


(string) The post type.

Top ↑

Source Source

File: wp-admin/includes/class-wp-list-table.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.