Get widget instance inside woocommerce_products_widget_query_args hook

I have three products widgets in my page and would like to change query args of one of them.

But using the filter woocommerce_products_widget_query_args I can’t identify the widget instance. How can I do that?

Read more here:: Get widget instance inside woocommerce_products_widget_query_args hook

Leave a Reply

Your email address will not be published. Required fields are marked *