Please, add the apply_filters to the end of gtm4wp_woocommerce_datalayer_filter_items to allow modification of $dataLayer variable before it’s rendered and send to the browser.
Thanks a lot. I don’t want to fork your repo due to this small piece of code.
Is it possible?
- The topic ‘Suggestion: Add apply_filters() to the gtm4wp_woocommerce_datalayer_filter_items’ is closed to new replies.