• I’m currently using a capabilities plugin to limit publishing of articles to Editors only so authors have to submit for review.

    However is there either a code insertion, or plugin, I can use to prevent editors publishing their own articles? It’d be nice to have them submit for review as well when they’re writing, as everyone is prone to typos and it’s always good to have a fresh set of eyes on an article.

    Ideally something that let’s them edit/publish others articles, and have to submit their own.

    Any help would be much appreciated!

    • This topic was modified 2 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You could remove an editor’s publish_posts capability, but then they couldn’t approve others. Unless you can find a plugin that already does this, you would need a custom coded solution. It’s not overly complex. Use the ‘wp_insert_post_data’ filter. If the post author is the current user and not an admin, and the intended status is “publish”, change the status to “pending”.

Viewing 1 replies (of 1 total)
  • The topic ‘Preventing Users Self Publishing?’ is closed to new replies.