filter cmplz_site_needs_cookiewarning not working
-
Hi there,
I need to disable the cookie banner in specific pages and I use the “cmplz_site_needs_cookiewarning” filter to accomplish this, unfortunately without success.
I have added the code mentioned on the page https://complianz.io/excluding-pages-from-the-cookie-banner/ but it does not work.
For testing, I have used the below code but still, the banner works normally:
function my_filter_site_needs_cookiewarning($cookiewarning_required){ return false; } add_filter('cmplz_site_needs_cookiewarning', 'my_filter_site_needs_cookiewarning', 99 );
The code has been used in both functions.php of theme and as a mu-plugin.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘filter cmplz_site_needs_cookiewarning not working’ is closed to new replies.