prevent get_comments() from returning comments not in comment__in
Related Posts:
- Exclude comments from a WP_Query object?
- WP_Comment_Query pagination, delving into the unknown
- Get posts with condition on comment meta value
- WP_Query sort by comment meta data
- Get number of comments after modifying comment query
- using wp_query to return posts w/ comment count > 0
- How to target the default Recent Posts and Recent Comments widgets with pre_get_posts?
- Query posts with more than 20 comments
- How can I retrieve comments from last 5 minutes for a post?
- Sorting posts DESC based on the number of comments using WP_Query
- Most commented last 24h, week, month, year and all time – posts_where
- Most commented post showing 2 records
- WordPress Comments sort by custom meta key
- Query posts by last comments
- How to list posts with disabled/closed comments, with pagination?
- I need help using pre_get_comments to limit comments in the comments admin screen
- All Posts Have The Same Comments
- Is it possible to give a classname to specific comments in the WordPress admin?
- How to get_comments() ordered by date and parent?
- Comments orderby comment date not working
- How to display comments list by order when clicking on newest or oldest link?
- Get comment number by date range?
- Set Alias for meta_query arguments in get_posts()
- How can I use order_by to order by two meta_keys without excluding posts that don’t have those keys initialized?
- Loop within a loop?
- Getting all user metadata from user
- How to get posts in different language from WPML Plugin [closed]
- Limit WP_Query to only X results (total, not per page)
- WP_Query meta_query where meta value ends in space
- How to disable main query?
- wp_query for the first sticky, then display the rest of the posts excluding the first sticky
- Use post__in and post__not_in together?
- how to retrieve specific product attribute value in an sql query?
- Compile two queries to one set of results?
- query attachments of parent page if attachments of current page are smaller than …
- WP_Query tax_query problem
- Only display authors who have posts
- Update Loop with Form
- How to retrieve current page WP_Query arguments?
- Query Custom Post Type Order By Taxonomy Field
- Setting get_queried_object
- Multiple loops without repeating content
- Sort query by author: 1 author, then others
- add_actions called from functions.php not returning good values
- How to orderby multiple meta fields if some fields are empty
- Show posts from a custom taxonomy on a page
- WP Query – Outputting JSON and normal loop of posts
- How to return a 404 when custom query matches nothing?
- Should wp_query automatic meta and term cache priming be used in an enviroment with an object caching
- wp_query with custom post type only returning last posted
- Display custom tags on pages that have a specific page parent
- get data match with extra field value using wp_query for custom post
- Custom query: Get all posts that are from a certain category?
- Transient api Caches confused
- Append URL query to next post link in custom query
- How to compare a date in custom field with today’s date in custom WP_Query?
- Meta Query doesn’t works as espected
- Query Posts by Tag and exclude
- How to import a WP backup website into another WordPress hosting?
- How to apply a function to a metadata value before launch a WP Query?
- Pagination for custom loop on custom page template is not displaying anything
- Display posts by tag
- Overriding $wp_query on a template
- Writing less unnecessary code with WordPress
- query single random post works localhost, not on live site
- Display count number of posts with the same specific meta_key meta_value
- How to sort by most watched in X days/months
- How to stack name list in non-alphabetical order?
- Replace wp_query with wp_user_query
- How can I use arrays and a foreach to generate many lists with WP_Query?
- is_user_logged_in not working from WP-API (wp-json)
- WordPress private post won’t display to other admins
- Only show tag with the same id as the post
- ACF: How can I publish values of ACF fields in a loop while using wp_query?
- Sort by price wpdb
- WP_Query random ordering not working since 5.4
- Show a message if there are no active posts in category
- Where my home page and font options has gone?
- How to get the latest post list (of the parent custom custom type)
- Problem with my loops
- 404 page on custom search pagination
- next_posts_link not visible on first page
- Query string order by custom field
- Paging works correctly on local version, but not live?
- Create global array to compare inside a query
- Hi , i am trying to set the post for 24 hours and with it will be changed
- Own query vars are not displayed
- Show full category tree for a year with all post titles?
- Trying to use “Medium” featured image for custom post type on home page
- Filter posts/pages by user_role array
- Display images with same specific value?
- WP_Query with meta_value_num and meta_query not paged correctly
- I need value of saved meta to display next to the post it is associated with
- Post Query not working after updating to 4.1
- Search Query that Includes Custom Table
- Pagination with WP_Query not working
- Custom post types loop on a page template
- Can’t seem to get an else statement correct? [closed]
- WordPress extremely slow when using get_posts with multiple meta_query relations
- Search results stuck on page 1