I want to filter the Woocommerce products via the query builder.
I created an ACF field name 'event_date" for products (date and time of event).
The filter I want must display the products with:
- status = “Publish”
- ACF(event_date) >= today (date and time)
I was looking for the status in the different options: I found nothing
I was looking for how to check the date, nothing else.
Can you help me, please.
PS: I can do it via a shortcode but I think that the query builder was made for, at least for the status