WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about disable_categories_dropdown

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-posts-list-table.php apply_filters 475 /**
* Filters whether to remove the 'Categories' drop-down from the post list table.
*
* @since 4.6.0
*
* @param bool $disable Whether to disable the categories drop-down. Default false.
* @param string $post_type Post type slug.
*/

Hook Parameters

Parameter Type Name Description
bool $disable Whether to disable the categories drop-down. Default false.
string $post_type Post type slug.