Modify Strictly Enabled Cookie Categories Using WebToffee GDPR Cookie Consent Plugin

The below code snippet allows you make any cookie category a strictly necessary category using GDPR Cookie Consent Plugin. The user can not disable the categories that are strictly necessary from the settings pop-up.

To achieve this simply add the below code snippet to the active child theme function.php and enter the name of the category in the single quotes, in lower case.

Leave a Reply

Your email address will not be published. Required fields are marked *