Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$disable

Whether to disable the categories drop-down. Default false.

$post_type

Post type slug.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply