WP backend, Show only own comments (give to users who wrote/published/assigned) posts
Using the comments_pre_query filter, this seemed to work well in development and testing: /** * @param null $comment_data Return an array of comment data to short-circuit WP’s comment query. * @param WP_Comment_Query $query WP_Comment_Query instance, passed by reference. */ add_filter( ‘comments_pre_query’, static function ( $comment_data, $query ) { // Limit to admin area. if ( … Read more