I'm looking for a way to "monkey proof" some pages. This so that clients can't delete "thank you" pages for example where visitors get redirected to.
I found this on stackoverflow and although I understand what e is doing here, my PHP is not good enough to write this into a function for in the functions.php.
Basically I'm looking for a small function for in the functions.php where I can add the ID's from the pages that I want te be safe.
I'm only talking about the delete / trash function... clients should be able to edit the contents of those pages.
Thanks for taking the time reading through this.