Check if the current user is author of first comment
Helper function Here’s a helper function (untested) to check if a given user ID is the first commenter for a given post ID: /** * Check if a given user ID is the first commenter for a given post ID * * @param int $user_id User ID * @param int $post_id Post ID * @return … Read more