WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about disable_months_dropdown

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-list-table.php apply_filters 671 /**
* Filters whether to remove the 'Months' drop-down from the post list table.
*
* @since 4.2.0
*
* @param bool $disable Whether to disable the drop-down. Default false.
* @param string $post_type The post type.
*/

Hook Parameters

Parameter Type Name Description
bool $disable Whether to disable the drop-down. Default false.
string $post_type The post type.