Created
August 28, 2023 13:42
-
-
Save amirhmoradi/0745ebcd5d66f4fa78dde867ca47a4d6 to your computer and use it in GitHub Desktop.
Woocommerce Brands Add Brand to Stape.io Server-Side GTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add product brand to stape sst gtm: | |
function ax_set_product_brand_taxonomy(){ | |
return 'product_brand'; | |
} | |
add_filter( 'gtm_server_side_product_brand_taxonomy', 'ax_set_product_brand_taxonomy', 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment