Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from Cookie Tasting™
FlavorScout is not affiliated with Cookie Tasting. The name and any related trademarks are used solely for nominative descriptive purposes.
This plugin detects whether a visitor is logged in by reading a browser cookie, enabling dynamic user interface adjustments on heavily cached websites. It is designed for developers building custom themes or applications where full page caching is used but user-specific content or actions need to be managed.
ct-logged-in or ct-not-logged-in) to the site's HTML element, allowing you to show or hide specific page elements based on login status using simple CSS rules.CookieTasting object with methods like userName() to get the current user's name and lastUpdated() to check the timestamp of the last login verification.cookie.tasting) when the login status is periodically checked, allowing frameworks like React or jQuery to update the UI state in real time.testBefore() method to perform a fresh credential check via a promise before executing sensitive actions (like loading premium content), helping prevent unauthorized access on cached pages.