Allowing user to edit only certain pages

Posted by Prem Tiwari | Updated on

The first thing to do to implements such task is to be able to recognise which page an user can edit.

There are different ways to do it. It could be a user meta, some configuration value… For the sake of this answer, I will assume that a function line this exists:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers