How to remove categories filter from wordpress admin?

Question

I removed the categories column from “All posts” page by applying this code.

add_filter("manage_edit-post_columns", "my_post_edit_columns");
function my_post_edit_columns($columns){
  unset($columns['categories']);
  return $columns;
}

This code removed categories column. But still i see the categories filter in the top.
Is there a way to remove it other than using CSS to hide it?

Thanks

0
Giri 2 months 0 Answers 17 views 0

Leave an answer