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

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

$post_type

(string) The post type.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-4.2.0 Introduced.