Exclude post_type from admin comments_list
You’ll need to filter comments_clauses, since WP_Comment_Query only supports a limited post type == X argument. /** * Exclude comments of the “foobar” post type. * * @param array $clauses * @param object $wp_comment_query * @return array */ function wpse_72210_comments_exclude_post_type( $clauses, $wp_comment_query ) { global $wpdb; if ( ! $clauses[‘join’] ) $clauses[‘join’] = “JOIN $wpdb->posts … Read more