Get comments from an array of user IDs

The get_comments() function, which is simply a wrapper for the WP_Comment_Query class, allows you to easily query comments posted by a specific user, but what if you wanted to get comments posted from multiple users? Currently, you have two options: a custom database query or using a filter to modify the WHERE clause of the…