Support » Plugins » Hacks » making an edited post for moderation

  • Hello
    At present I have a site where moderation of new post is working fine.
    But I need to make a published post to wait for moderation if it is edited after publish once.

    I hope i have explained it clearly,
    when a contributor create a post ,then it need to be published by moderator to saw it on the site but onces a post is published then the contributor can edit the post and publish it.I dont want that.I want to make a post wait for review once it is edited no matter whether it is being published earlier

    Thank you in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • add action hack for action ‘edit_post’


    add_action(‘edit_post’, ‘somefunc’);

    function somefunc($post_ID) {
    if (!current_user_can(‘switch_themes’)) {
    // set status of post with $post_id to ‘draft’

    Thanks kkarpieszuk,
    As i am new in coding wordpress so will try to do the coding and will update you with the result,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘making an edited post for moderation’ is closed to new replies.