disable_months_dropdown

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$disable

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

$post_type

(string) The post type.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.