Your query there is looking for results from either post type that have the meta value. AFAIK there’s no way to do that in a single query unless you also add the checkbox to the other post type.
Related Posts:
- Slow wp_posts and wp_postmeta query using Advance Custom Fields
- How can I modify standard search query to include also ACF custom fields values?
- Use value from meta key array for use in WP_Query
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- ACF Relationship Field Search Filtering [closed]
- Custom WP_Query order by post_meta and (author) user_meta
- Query WooCommerce orders where meta data does not exist
- WP_Query for WooCommerce Products
- ACF datepicker meta_query Compare Dates in m/d/Y g:i a – Not in Ymd Format
- Perform query with meta_value date
- Finding all results from database within 500 miles of the given latitude and longitude [closed]
- meta_query with array as value
- Meta Query for specific months
- How to orderby meta_value_num with dollar ($) sign
- If two first numbers exist in wp_meta_query value
- WP_Query meta_query >= date
- ACF Date Based wp_query
- Custom query based on meta key – Reduce three states to two in results?
- What is the random string I am seeing when I use get_query_var?
- Any number in meta key (wp query)
- Optional Meta Query
- Overwrite YoastSEO meta-tags with another page’s [closed]
- How to orderby multiple meta fields if some fields are empty
- Elementor custom Query with ACF fields to show matching woocommerce products custom fields
- Check if loop has any categories?
- Meta Query relation “AND” then set array accordingly
- WP_Query with meta_query dosen’t return results
- Wp_query with 2 meta keys and array of meta values
- How to set up hierarchical relationships without using plugins / meta query
- Custom query filter by ACF date custom field
- Is it possible to retrieve posts depending on meta_key LIKE condition? [duplicate]
- Why doesn’t my WP Meta Query return any results?
- WP_Query meta compare must include ALL array values
- meta_query where the meta value is not the post title
- Query multiple post types, but different order for each
- Order WP_Query by meta_key priority when ‘OR’ relation used for multiple meta values
- Multi-layered WP_Query
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- Woocommerce Get Orders By Meta Value
- How to do WP_User_Query for Nested Array value Inside Nested Array field
- Meta query orderby meta_value_num sorting by role first
- Query against multiple locations within single custom post type post
- WP_Query, ACF field and array
- Strange results from WP_Query
- Pre get posts sort by meta key returns no results if meta key does not exist
- WP Query. Ordering posts by another post types meta
- Query by meta value (add a dropdown of all values)
- Meta query doesn’t remove placeholder escape before query
- Get posts meta_query by repater field
- What is the best way to reset a search on a meta_key / meta_value?
- Filter posts/pages by user_role array
- The sorting of posts by a meta_query with two keys fails while separated as single queries it works
- Get posts using multiple values from ACF checkbox as meta query wordpress
- How do I subquery with custom meta fields?
- Use meta query only 3 or more results?
- WP_Query filtering in ACF field containing dates
- Problem making a WPQuery with ACF boolean
- WP_Query – show posts where meta value and user_email match
- Using the same WP_Query for shop and widgets in WooCommerce shop
- How can I get all the posts that are related with a specific taxonomy term?
- Fetch only categorized posts
- Wrap group of wp query posts to parent div by date/year
- Bring a post to the top of the query if it’s in a certain category?
- WP Meta Query at depth 2
- Object of class WP_Query could not be converted to int inside shortcode
- Best way to Order Post in Home without a plugin
- WP_Query returns empty if meta_query has more than 7 values
- orderby in WP_QUERY – Use the order from the Dashboard
- Is it possible to search for a string in posts OR postmeta?
- active link for most recent post on vertical tabs
- Conditional posts in WP_query for search
- Extending WP Query: Custom geolocation meta values work, but tax_query breaks
- Random posts in WP_Query when searching by tag
- WP_Query with child element
- Custom Theme Building & Permalinks
- Custom query for tag and custom tag from 2 post type
- wpdb get_results() returns only 2 rows
- meta_query not working with the_content()
- Custom pagination (Title, date and teaser)
- WP_Query using meta_query with LIKE doesn’t return what it should
- Using custom field as ‘orderby’ value causing post grouping by publish date
- Using URL variables on a custom WP_Query
- Ordering Posts by parent category, name ascending
- Use not custom fields in get_posts() meta_query?
- Query posts in current category but not attachment format
- Wrote a WP Cron Plugin and it triggers a fatal error upon activation
- WP_Query always returning the last custom post
- WP_Query secondary query failing
- How to get query results for the next page
- WP_Query with MetaQuery issue
- WP_Query Posts by Metadata from Option Tree
- Custom loop – Isolating post meta output depending on current query taxonomy terms
- WP_Query within save_post doesn’t include the item that triggered the action?
- Compare meta key separation
- Search Functionality broken by the wp 4.2 update
- Issue attempting a wp_query_posts with tags
- WordPress meta_query not working
- Issue in If else condition [closed]
- How to query post into a complex slider
- Using orderby with 2 meta keys