Browse: Home / Functions /

disable_categories_filters

disable_categories_filters( bool $disable,  string $post_type )

Disables the category filters for post listings.


Description #


Parameters #

$disable

(bool) (Required) Flag to disable/enable the filter.

$post_type

(string) (Required) The post type slug.


Return #

(boolean) Returns true to disable category filter otherwise false.


Source #

File: includes/admin/ld-admin-columns.php