How to Exclude pages from admin edit pages list

This is a great little snippet that will exclude pages based on the the ID from the admin pages list. Just add this snippet to the functions.php of your wordpress theme and update the array with the page ID’s you wish to hide. Please note this does not stop a post from being editable this snippet only hides the page from view.


Hire Me

If your interested in hiring me then please use the form below to send me details of your project and will be in touch shortly.