Get comment number by date range?

Question

I want to add a fire icon to the posts that have received more than 10 comments in the last 7 days.

The function to retrieve comment numbers get_comments_number() doesn’t have a date range. So how do I do it within the WP_Query loop?

0
Tom J Nowell 1 week 2022-11-21T08:44:14-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse