As of the WordPress codex there is no such option. But you could just combine two or more comment arrays using plain PHP:
array_merge(
get_comments( array( 'status' => 'hold' ) ),
get_comments( array( 'status' => 'trash' ) )
);
Related Posts:
- Remove Comments Metabox but still allow comments
- How can I remove the title “leave a reply” in the comment box in twentyeleven?
- change the comment time output to: X time ago instead of actual date and time
- How to prevent deleting of comments when deleting a post
- disable comments if array exists
- Remove “says” from comments
- Display the number of user comments
- Comments to only be seen by their author
- How to Add a Random Custom Gravatar in the WordPress Comments?
- Show top commenters without using a plugin
- Change the HTML of the comment form that is generating somewhere from the core WordPress
- Commenter should see only his comments in wordpress
- Filter out other users comments. Visualize only own comments and editor role users’ comments
- wp-comment author- url +, email filter hook
- Where to add the permalink in this function?
- Incorrect redirect after commenting
- comments_popup_link without echo?
- Getting comment count per post not working
- Wp admin – Set default value to 999 in comments
- What is the Difference in bones_comments() and comments.php
- Function to replace comment’s accented characters before posting
- WordPress comment_form() does not display actual comments
- WordPress comment processing . Default unapproved comments detection before posting
- How do I change where “You must be logged in to comment” directs users?
- How do I make the comment disappear after deleting from the database?
- Remove nofollow from internal comment links via functions.php
- How can I automatically delete comments that contain a URL?
- Warning and fatal error
- Comment function for page
- How to identify author in wordpress comments?
- How can I return the result of my custom function?
- Newest comments first not working
- get_comments not working properly after WordPress v4.4 update
- Getting error while trying to use custom comment function
- Increase Comment Author Gravatar Size On WordPress Default Comment Function
- Custom Nested WordPress Comments with avatar
- Undo a function that is not (seemingly) hooked to an action?
- Comment Function
- WP Custom Comment Callback Not Responding
- How to remove “login to reply” from individual comments [duplicate]
- Getting full code of wp_list_comments instead of replacing it
- Comment turned Invisible
- User’s Comments Number: Storing it in a meta field for different uses
- Add functionality to block comment authors in the Comment edit pag
- How to export comments in WordPress?
- How to change the markup WordPress inserts for post images
- When tax_query used, results disappear (0 =1 produced)
- wp_get_attachment_image returns different image size
- Different functions file for each site in multisite installation?
- jQuery plugin function is not a function
- I changed “Howdy” in the admin bar in the dashboard, but when I’m viewing the site it still says Howdy!
- Custom logo sizes for multiple logos
- how to change link of some wordpress pages
- Loop (iterate) through Multi-Site sub-sites (blogs)?
- Proper way of using functions in action hook?
- Custom function for specific user role
- Add custom image size not working
- When to use an if statement after get_posts?
- Programmatically Create Category and sub Category
- Not sure if enqueuing js scripts properly
- Shortcode inserts paragraphs before and after executing shortcode
- Get_template_part inside a folder
- Passing values from a widget to a function within a plugin
- Comment Form – E-mail Not Required!
- Contact Form 7 – Delay auto responds
- Replace a menu with widget or a custom template file programmatically
- php function to display commenter username or login
- Which functions/classes are available during SHORTINIT?
- How to stop wordpress from injecting hard-coded style into image attachments with captions
- Two functions with different arguments and add_actions, but identical code
- How to fix get_the_category function returning incorrect slug?
- How to edit the Tags within the image file URLs?
- Disabling visual editor on a specific post
- Disable wp_is_mobile()
- Testing for a shortcode using a function. 404 page throwing PHP Notice
- How to get post revisions in my custom rest API? [closed]
- Strip div From Excerpt
- How to properly set custom logo size?
- Image Crop Not Working
- Function to check if custom page is used by page?
- How to Display WooCommerce Product Price in WooCommerce Archive
- Woocommerce Variable Product Dropdown for Custom Shop Template
- Bizarre Child Menu Issue on WP Site
- get variables data from functions.php to template wordpress (without global variables)
- how to increase connection time
- Shortcode to insert default text and change one word throughout it?
- Its my first time trying to create a website , I got an error Please help
- Drop down list code for sidebar
- Shortcode Initialization in a Custom Theme
- Hide disclaimer from summary excerpts
- Load scripts into an AJAX div
- restrict uploaded image size and fixed image display size
- Code executes outside of Loop while same code gives ‘Uninitialized string offset’ notice inside a while loop
- Function not receiving string from shortcode
- Restricted images only for logged user. (hidden url)
- Override parent theme function that is not hooked or in the functions.php file
- Syling Custom Fields echo’s from from functions.php
- How I can show short content with short tag
- function to show youtube videos within excerpt – if condition and apply_filters
- How to automatically load Google Fonts on pages only as they’re used?