Modify Strictly Enabled Cookie Categories Using WebToffee GDPR Cookie Consent Plugin

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.

  • Was this article helpful ?
  • YesNo

This article posted in Code Snippet, GDPR Cookie Consent

Comments (2)

  1. Yannick Sanchez
    • Yannick Sanchez

Leave a Reply

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