Publish author posts only with editor approval?

Posted by Jessica Taylor | Updated on

I this example, I have shared how to publish author posts only with editor approval in WordPress. Use following code in your theme’s functions.php file OR in site specific plugin.

This will add the upload_files capability to the Contributor role. It only needs to run once; just login to admin as a user with the Contributor role. After it successfully adds the capability, you can remove (or comment out) the code if you want.

To remove the upload_files capability and return the Contributor role to default, use the following:

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