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

[![enter image description here](https://i.stack.imgur.com/DuEcr.png)](https://i.stack.imgur.com/DuEcr.png)

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;
    }
  </style>';
}

```