• So my screen resized/formatted while I was clicking and I clicked on Delete Permanently on accident on a product with a lot of information. There is no confirmation so it was just gone. It’s not quick to import just one product from backup so this took a lot of time.

    There is no situation in which I need to delete a product so quickly that I cannot move something to trash and delete it from there. But hitting it on accident is a disaster.

    Could there be an toggle for this to not display in settings?

    • This topic was modified 4 years, 5 months ago by eftcolumbus.
Viewing 1 replies (of 1 total)
  • Hello,

    I think this could help :

    – Install the “Add Admin CSS” plugin :

    https://www.ads-software.com/plugins/add-admin-css/

    – Open plugin settings from admin menu : Appearance > Admin CSS

    – Copy and paste the following css code into the second text box (“Admin CSS”) :

    body.wp-admin table.wp-list-table span.delete {
        display:none;
    }
    

    Please note that this will hide all “delete” links from admin tables. If needed i can post more accurate css code.

    You will still be able to delete items via the “Bulk edit” dropdown menu.

    Best Regards.

    • This reply was modified 4 years, 2 months ago by Oniric Forge.
    • This reply was modified 4 years, 2 months ago by Oniric Forge.
    • This reply was modified 4 years, 2 months ago by Oniric Forge.
Viewing 1 replies (of 1 total)
  • The topic ‘Disable Delete Permanently’ is closed to new replies.