diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index d1d4fb8c4..bb934f0c9 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -262,6 +262,8 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde } } + $exclusions = apply_filters('list_cats_exclusions', $exclusions ); + if (intval($categories)==0){ $sort_column = 'cat_'.$sort_column;