The cookie-cat plugin is a WordPress plugin that builds a table of cookies that your website may serve to your users based on the configuration of your site.
Version 1.0 of the plugin predicts the cookies based on the plugins that are active. The raw data for each plugin is obtained from an XML file ( cc_mapping.xml ). For each active plugin cookie cat queries the cookies that the plugin is associated with. Then for each cookie the information is extracted and formatted in a table, showing the cookie name, the cookie category, a brief description of the cookie (including the information it may store) and the duration of the cookie.
Before creating the table the plugin invokes a filter called ‘cookies’ to allow each plugin to modify the raw data. This may be used to alter the list of cookies or the information displayed about a cookie.