How would I count the number of times a comment meta field’s value is in a post’s entire comments?
How would I count (and display) the number of times a comment meta field’s value is a post’s entire comments? e.g. meta key is “fish” and key value “shark” appears in 5 comments of a post. 1 Answer 1 You should be able to do a meta_query in a WP_Comment_Query(): $args = array( ‘post_id’ => … Read more