WordPress Plugin to that lists all cookies used on your site.
View Cookies in the Admin Area
Show cookies to your visitors (optional)
Add the shortcode [cookies] in any post or page to display a list of all current site cookies for your visitors.
Once activated, there's a small options page under Appearance - Cookies with a preview, which is only visible to site admins.
You also have the option to exclude WordPress cookies, which filters anything containting the string "wordpress" or "wp" in the cookie title. Use the shortcode [cookies-nowp] to display the filtered list.
If you like, you can repalce the default separator (a colon) between the cookie and its value with your own string inside the opening and closing tags. For example [cookies] ==> [/cookies].
- This plugin is based on code by David Artiss.
- He subsequently made it available in this Gist.
- John Brown discovered it and asked me to filter out WordPress cookies for his project, as a function for his child theme.
- I loved the idea so much that I decided to wrap it up as this standalone plugin for everybody.
- Also available on the offical WordPress Repository
- Release Post for this project on my website