Hi @mediaweapon,
With disabling consent, do you mean disabling the cookie banner? Or preventing Complianz from blocking scripts on the particular page?
To disable the cookie banner on specific pages, you can use this filter:
add_filter('cmplz_site_needs_cookiewarning', 'cmplz_my_filter_site_needs_cookiewarning');
function cmplz_my_filter_site_needs_cookiewarning($cookiewarning_required){
if (12345==url_to_postid(esc_url_raw((is_ssl() ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"))) $cookiewarning_required=false;
return $cookiewarning_required;
}
Replace 12345 with your postID. For a more detaled description on this subject, please refer to our article.
If you would disable the cookie blocker for specific pages please let me know. It would be convenient to have a link to the site and page you want to exclude.
Kind regards,
Leon