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
- Return only Count from a wp_query request?
- Meta query with string starting like pattern
- how to show posts that are missing a meta_value
- WP_Query: query posts by ids from array?
- pre_get_posts with get_posts
- author.php with ACF and CPTs
- Query Custom Meta Value with Increment
- WP_Query using meta_query with relation OR and orderby meta_value doesn’t work
- Identify which loop you are hooking into; primary or secondary?
- querying with custom meta field with meta_query
- Order by two meta keys
- multiple meta key but get server load is very high
- A WP_Query that will look for posts after 2 weeks ago OR with a certain meta value
- Finding the next 5 posts
- Pagination is not working using WP_Query
- view queries made?
- Pass the same object to multiple widgets in a template with one query
- Use meta_query to display events by date in custom field
- Minimising number of queries on a page when using Advanced Custom Fields
- How to show recent and upcoming birthdays using meta_query
- ACF Relationship + WP Template Parts
- What is considered a default query for the request filter?
- $wpdb insert is not work
- Using WP_Query and WP_Meta_Query Outside of WordPress
- How to find exact match for search term in WP_Query? What is the additional string added in LIKE query in WP_Query?
- WP_Query on custom field and order results
- How to query a custom post type with a taxonomy filter but display post type archive page?
- Tax query clause inside a meta query clause?
- Include custom field in Ajax search WordPress
- Change query_posts to WP_Query in page but does not work
- WP Query with custom Shortcode
- Set conditional on template based on referring page slug
- How do I make a meta_query OR relation work? [closed]
- Iterating through $wpdb query without using get_results for large query results
- Meta_query on same meta key, with diffrenct values
- Can we return all category (not post) with Custom Query Filter? [closed]
- Filter posts in category archive page by year using a dropdown
- Extend product search with meta in WooCommerce
- how to make members list directory through wordpress post custom meta key.
- Include data from custom table in WP_Query
- How to get a query variable?
- date_query seems to be ignored by wp_query
- What’s wrong with this meta query? (order by meta key, then title, doesn’t work)
- Get a list of the last posts grouped by author and filtered by category