Home > Docs > GDPR Cookie Consent > Listing Cookies in a Tabular Form in a Cookie Consent Popup

Listing Cookies in a Tabular Form in a Cookie Consent Popup

Last updated on June 14, 2023

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 functions.php.

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