Adding Custom Columns into the Audit Table Using GDPR Cookie Consent Plugin

The GDPR Cookie Consent plugin allows you to display the cookies entered into the plugin in a tabular form using a shortcode. The table currently displays the cookie title, cookie type, cookie duration and the description of the cookie. The below code snippet allows you to add the cookie ID column to the audit table. Simply add the below code snippet to the active child theme function.php.

If you need to add both the cookie ID and the cookie sensitivity fields to the table, add the following code to the function.php.

Leave a Reply

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