Created
March 21, 2024 04:20
-
-
Save webtoffee-git/cee24fc9dbf10d7fc164baa089e2a53b to your computer and use it in GitHub Desktop.
Restricting Vendors on a IAB TCF Banner - By WebToffee (GDPR Cookie Consent plugin)
This file contains 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 //Do not add this line of code | |
add_filter('wt_cli_allowed_vendor_list','wt_alter_allowed_vendor_list'); | |
function wt_alter_allowed_vendor_list($vendor_list){ | |
return array('61','755'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment