WordPress at a glance
filter is not described

disable_months_dropdown filter-hook . WP 4.2.0

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

Usage

add_filter( 'disable_months_dropdown', 'filter_function_name_5398', 10, 2 );
function filter_function_name_5398( $disable, $post_type ){
	// filter...

	return $disable;
}
$disable(true/false)
Whether to disable the drop-down.
Default: false
$post_type(string)
The post type.

Where the hook is called

WP_List_Table::months_dropdown()
wp-admin/includes/class-wp-list-table.php 520
if ( apply_filters( 'disable_months_dropdown', false, $post_type ) ) {

Where the hook is used (in WP core)

Does not used.