Product Icon

WooCommerce

Sell online with the flexible, customizable eCommerce platform designed to grow with your business. From your first sale to millions in revenue, Woo is with you. See why merchants trust us to power 3.4 million online stores.

Add filter price_filter_where for queries

I want to use a custom wc_product_meta_lookup table without editing the existing/default one. This would be made easy if their was a filter on the tables array in the function price_filter_post_clauses() in the WC_Query Class definition (line 690): $args[‘where’] .= apply_filters( ‘woocommerce_price_filter_where’, $wpdb->prepare( … ), $current_max_price, $current_min_price );

Author

Contemplator

Current Status

Open

Last updated: November 12, 2024

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.