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.


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

	return $disable;
Whether to disable the drop-down.
Default: false
The post type.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.