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?
- Does tax_query really beats meta_query in all situations?
- Execute a large WP_Query with many “AND” Meta_Queries?
- Get the post permalink within the loop but without additional DB query
- List the 5 most recent child pages
- Meta query field order together with post_date order causes posts without the meta field to be unordered
- Undefined property: WP_Query::$post
- Programmatically set ‘meta_query’ for filter
- Extending woocommerce admin product search
- Query total number of posts
- Query by multiple meta elements not seeming to work – wordpress is timing out
- How can I use $wp_query->tax_query as tax_query parameter for a new WP_Query instatiation?
- How does one perform a sub query with different post types
- Stuck in the query loop
- Query Page Content From Theme Options?
- Include current post into loop
- Include post content of linked posts in search
- How to Create a Random List of Child Pages
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- WP Query ordering on a meta field for posts with a date in the future not ordering by datetime
- Merge 2 custom post type posts and taxonomy terms and sort ascending
- get_page meta query not working, maybe a bug?
- Query by date from custom field
- WP_User_Query orderby meta_val_num
- WP_Query custom order and pagination
- Using WP meta query to show custom post types by a start and finish date
- Unable to paginate a custom page query
- Sort posts using multiple custom fields and menu_order in single query?
- Search filter between promo and exact price
- Exclude post from wp_query based on custom field boolean
- Getting posts by custom field value
- How to get taxonomy image attached to a Post Type WordPress
- Order posts by tags count?
- wordpress multiple meta value query is not working
- Is there a way to control both Order By and Order query parameters from one input field
- return child post if available otherwise parent post
- Search has query that will return no results
- meta_query with relation = AND not working as expected when combining EQUALS with NOT EQUALS
- Linking posts together with Advanced Custom Fields “both ways”
- orderby in WP_QUERY – Use the order from the Dashboard
- Use not custom fields in get_posts() meta_query?
- WP_Query always returning the last custom post
- Advanced Post Display/Pagination/Ordering
- Custom query (author is post_author or meta co_author) with Pagenavi pagination
- How to get posts that have certain meta key value and order based on another meta key’s value
- Passing a variable containing a comma separated list of values in a meta-query