• Resolved Steven

    (@shyzer)


    I have 20,000+ published posts under my name. I have a Contributor who is helping edit 3 specific posts.

    Is there a way to limit her ability to Revisionize those 3 specific post IDs? I don’t want her to be able to click Revisionize on my posts that she’s not working on.

    Even if I have to manually edit the plugin each time there’s a new update, I’m happy to do so if I can achieve this result.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author jamiechong

    (@jamiechong)

    @shyzer – sorry for the late reply. You can try using this filter:

    revisionize_is_create_enabled

    This might work:

    function can_my_contributor_edit($is_enabled, $post) {
      return $is_enabled && in_array($post->ID, array(123, 456, 789));   // specific post IDs
    }
    add_filter('revisionize_is_create_enabled', 'can_my_contributor_edit', 100, 2);
Viewing 1 replies (of 1 total)
  • The topic ‘Limit Revisionize to Post ID’ is closed to new replies.