As told in the title, I am looking for a way to prevent users to delete comments from the trash. Only admins should be able to.

I tested the scripts at:

Function to prevent users from trashing comments

But it doesn't work, probably since 2013 a few things have changed :)

Thank you for help!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.