WordPress at a glance
filter is not described

disable_categories_dropdown filter-hook . WP 4.6.0

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


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

	return $disable;
Whether to disable the categories drop-down.
Default: false
Post type slug.

Where the hook is called

wp-admin/includes/class-wp-posts-list-table.php 442
if ( false !== apply_filters( 'disable_categories_dropdown', false, $post_type ) ) {

Where the hook is used (in WP core)

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