• In the admin area, under the comments section, is there a way to filter comments to only display comments made by posts from the logged in user?

    So userA has a multiple posts with 10 comments total and userB has multiple posts with 10 different comments. When each user visits the comments section, only the 10 comments relevant to that user should appear.

    For this particular blog, each editor is being asked to moderate comments that pertain to their own posts. Filtering comments displayed would be a big time saver.

Viewing 1 replies (of 1 total)
  • famemonkey

    (@famemonkey)

    I really want to be able to do this as well.

    I have found how to do it by hacking the code in /wp-admin/includes/template.php. You wrap the loop:
    foreach ( $columns as $column_name => $column_display_name)
    (including the table row html) in an if:
    if ( current_user_can('edit_post', $post->ID) )

    but this approach is nasty! and will most likely be overwritten with every update 🙁

    I am new to plugins, and I can’t find any hooks that are fired with edit-comments.php that would enable me to filter.

Viewing 1 replies (of 1 total)
  • The topic ‘Filter Comments by Author Posts’ is closed to new replies.