Is there a way to get comments with more than one status
using get_comments
function?
Let’s say I would like to get both trash
and hold
comments.
It is possible to do the same with posts:
get_posts(array('post_status' => 'draft,private,trash'));
get_posts(array('post_status' => array('draft', 'private', 'trash')));
What I want to do is:
get_comments(array('status' => 'hold,trash'));
get_comments(array('status' => array('hold', 'trash')));