WordPress.org

Ready to get started?Download WordPress

Forums

Keep certain pages from deletion (1 post)

  1. kortschot
    Member
    Posted 1 year ago #

    Hi there,

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic