Plugin’s company proposed a solution to go with the wpdb object and write manually the queries…
Kudos to @Sally CJ. You were right in you theory, as the taxonomies are not yet known (or registered) when the script is executed.
I will go with this approach for now, as time is limited, but will try to get back if I find a solution to the initial problem.
Related Posts:
- WP Query – Get WooCommerce Products with variation that is in stock
- How to echo woocommerce category name
- Search custom taxonomy term by name
- How to query only for products with status “in stock” in WooCommerce? [closed]
- How to display post from current Taxonomy in archive page?
- WP_Query for WooCommerce Products
- Display posts the match taxonomy term linked from wp_list_categoies?
- Woocommerce query by price range and custom meta key
- Move posts to top of WP_Query if in certain Taxonomy?
- WooCommerce: filter by parent product’s taxonomy and product variation’s meta data
- Querying Multiple Custom Taxonomy Terms
- Retrieve products with specific attribute and in category – woocommerce
- How to combine tax_query and date_query in WordPress
- how to retrieve specific product attribute value in an sql query?
- Filter WordPress posts by between parameter
- Order taxonomy terms in alphabetical order
- How do I search inside specific taxonomies in WordPress
- Output an array of terms for a ‘tax_query’ => array()
- Woocommerce returns Product post_status as published even tho it is in status draft
- showing all search result in one template
- Get all products which have both product category
- WP_Query Not Recognizing Taxonomy Parameter in Custom Search
- Woocommerce query all products and categories
- Remove category from query (show all posts in archive.php) pre_get_posts()
- Take all produts by category
- How to get all product attributes for filters in WooCommerce?
- WP_QUERY to display woocommerce products whose author IS the logged in user
- WP Query Args – Title or Taxonomy Value
- How to Union two different conditions in one WP_Query
- WooCommerce – get product sub categories
- Slow queries on a huge database
- Having trouble with WooCommerce Storefront child theme single.php “related posts” modification [closed]
- Search Query for multiple categories using ‘OR’ but having certain categories be ‘AND’
- Out Of memory issue on post per page parameter
- wp_query args adding muitiple tax_querys
- Automatically Query Parent Taxonomy
- Redirect to another page using contact form 7? [closed]
- How Can I Change The Tax Query For The Main Loop For Taxonomy Archives?
- Custom taxonomy.php not working
- wp_query not working with post_type
- Woocommerce pagination and result count after custom loop
- WP_Query for a taxonomy with different taxonomy types
- How to order WP_Query to group results?
- How to Order a list of taxonomies? orderby?
- How to add custom meta to ‘pre_get_terms’?
- Get Child Category only
- Redirect Search to Form When No Product Results Are Found
- WP Job Manager plugin – Listing only the twelve job categories on frontpage order by jobs they have
- WP_Query Taxonomy categories filtering
- Exclude a Woocommerce product from WP_Query
- Woo Commerce using WP_Query to get products that match price range, with an additional required product attribute
- Get posts in taxonomy randomly
- Multiple meta_key ordering with pre_get_posts
- Assign a minimum result count for WooCommerce query shortcodes?
- Woocommerce: order posts by meta key
- var_dump of WP_Query object is not empty, while .have_posts() return false
- Unlimited Page Sitemap Link
- Don’t repeat posts from children in parent taxonomy query
- Custom taxonomy in WP_Query not working
- $wp_query->found_posts not returning correct value
- Can’t get term id for category archive
- How to make a post with certain taxonomy term display first before other post with only one query?
- Tax Query on product_cat using NOT IN as operator does not exclude that category
- Woocommerce Shortcode which displays a table with product data
- Use get_cat_ID to retreive multiple category IDs
- Make a products only viewable to a specific user ID in meta_query pre_get_posts
- Customize the Sorting Dropdown in WooCommerce use another list or more page
- How can I order a post query’s results based on the number of matching taxonomy terms?
- Only show tag with the same id as the post
- How to use the Term Object from a custom select field in a query
- ElasticPress is (aparently) messing with my search filters
- How sort products by calculate value? ( custom post meta, price, option)
- wc_get_products() return empty object
- How can I filter products by meta in Woocommerce REST API?
- wp_query with meta_query and tax_query
- What code to use in an array to call the current sub-category?
- Select multiple categories with is_tax
- update_post_meta performance in a loop woocommerce
- Query child posts with tax query on parents
- How to break up output of posts for different terms on same page?
- Woocomerce – Order products by float attribute in archive pages
- Slow Query with more 100 products
- Custom category page with taxonomy filters
- Taxonomy archive, categorised by other taxonomy, not hiding empty taxonomies
- taxquery taxonomy get terms
- Create global array to compare inside a query
- pages shortcode filtering by category
- How to show terms from another taxonomy
- How do i query woocommerce booking post type on init action?
- WP_Query to Retrieve Posts from WooCommerce Products that are Only in Catalog
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- Woocommerce WP_Query post__not_in problem
- Category Archive not working for pages
- 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?
- Search format not matching taxonomy query
- Multiple Orderby is not working right
- How can I get taxonomy term name using term slug & post ID using build in WordPress function or class?
- Variations as Single Products [closed]
- Using WP Query, I want to include all posts in category 1 as long as they are not also in category 2