Filters whether to remove the 'Months' drop-down from the post list table.
$disablebool$post_typestringwp-admin/includes/class-wp-list-table.php:711WP_List_Table::months_dropdown() * * @since 4.2.0 * * @param bool $disable Whether to disable the drop-down. Default false. * @param string $post_type The post type. */ if ( apply_filters( 'disable_months_dropdown', false, $post_type ) ) { return; } /** * Filters whether to short-circuit performing the months dropdown query. *Introduced in 4.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.