How to list the comments based on meta key?
Thank you for your reply.This is useful for me.Then my another question is how to list the comments based on meta key?
$query->query_vars['meta_query'] = [
'relation' => 'AND',
'key' => 'contest_id',
'value' => $_GET['voteid']
The above code is working for initial load only.When sorting or click load more comments
it is not working in wpdiscuz .Could you please help me
It works fine for as. It also works for all type of loading and pagination. Make sure that key exists fro all comments.
Please make sure you don't have other plugins affecting comment displaying functions and leave a screenshot of the Settings > Discussions admin page.