admin panel – How to remove “delete” button from category editing page


i want to disable, hide or remove delete buttons from category page

enter image description here

I tried editing functions.php with no luck:

add_action('admin_head', 'hide_category_buttons');

function hide_category_buttons() {
  echo '<style>
    .taxonomy-category tr:hover .row-actions {
        visibility: hidden;
Antanas Ignas 3 weeks 0 Answers 6 views 0

Leave an answer