I want to get all of the comments for a given post and return them in order by a meta_key’s value desc high to low.
Doesnt look like i can do this with get_comments() like i would like to. This will give me the comments for the post but not ordered like i would like to see.
Any help with this would be great.
From the look at code
WP_Comment_Query
class, used internally byget_comments()
allowsorderby
argument to be set to'meta_key'
string to sort by key in argument of samemeta_key
name.