Created
March 19, 2026 12:05
-
-
Save webtoffee-git/b493b3a21dd0c01e6beda4221d55e60b to your computer and use it in GitHub Desktop.
Code to Geotarget Consent Banner - WebToffee( GDPR Cookie consent)
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 //Do not copy this line of code | |
| //Change the country code to target the appropriate country | |
| add_filter('wcc_ccpa_allowed_regions',array('CA','CO')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment