Skip to content

Instantly share code, notes, and snippets.

@webtoffee-git
Created March 21, 2024 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webtoffee-git/cee24fc9dbf10d7fc164baa089e2a53b to your computer and use it in GitHub Desktop.
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)
<?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