Contributor post to be reviewed and published by only one editor
You don’t say how you save the editor -> contributor associations, I assume you store it in a user meta field with key ‘assigned_contrib’ where you save an array of contributors user id. First off all, hide posts to other editors using pre_get_posts hook: add_action(‘pre_get_posts’, ‘hide_posts_to_editors’); function hide_posts_to_editors( $query ) { if ( is_admin() && … Read more