Lightweight cookie consent solution for GDPR compliance with developer-friendly tools and multilingual support.
| Author: | modulux (profile at wordpress.org) |
| WordPress version required: | 6.0 |
| WordPress version tested: | 6.9.1 |
| Plugin version: | 1.0.0 |
| Added to WordPress repository: | 21-02-2026 |
| Last updated: | 21-02-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | |
| Total downloads: | 188 |
| Active installs: | 20+ |
![]() Click to start download |
|
MLX Cookie Consent is a lightweight, developer-friendly cookie consent solution built by Modulux.
It provides the technical tools to control when scripts and embedded content load based on user consent.
When configured and used correctly, it can support compliance efforts for GDPR, ePrivacy, UK GDPR,
and similar regulations.
This plugin does not automatically make your site legally compliant.
You are responsible for correctly classifying scripts, providing accurate information,
and maintaining proper privacy and cookie policy pages.
Project home: modulux.net
MLX Cookie Consent is multilingual-ready and works with WPML or Polylang via String Translation.
All user-facing texts (titles, descriptions, buttons, category labels) can be translated per language.
External Services
This plugin does not connect to any external or third-party services by default.
MLX Cookie Consent does not send data to external servers, does not load remote scripts, and does not perform any tracking on its own.
The plugin provides a technical mechanism that allows site administrators to conditionally load third-party scripts (such as analytics, maps, fonts, or captcha services) after obtaining user consent.
Any external services (e.g. Google Analytics, Google Maps, reCAPTCHA) are:
– Added manually by the site administrator
– Loaded only after explicit user consent
– Fully controlled and configured by the site owner
MLX Cookie Consent does not transmit any data to these services itself. Any data transmission is performed directly between the visitor’s browser and the third-party service, according to the configuration and privacy policies of that service.
Features
- Script loading blocked until user consent
- Category-based consent (necessary, analytics, marketing, etc.)
- Preferences modal with granular control
- Consent revisioning to re-ask users when policies change
- Supports external scripts, inline scripts, iframes, and embeds
- Developer hooks for advanced customization
- No external dependencies, bundled internal JS engine
Libraries Used
This plugin bundles the following open-source library:
CookieConsent by Orest Bida
License: MIT
The library is included locally with the plugin and does not perform any network requests or data transmission by itself.
Usage
Scripts are output as inactive placeholders and executed only after consent:
…
Examples include:
* Google Analytics
* Google Fonts
* Google Maps
* reCAPTCHA
* Third-party widgets and embeds
Iframes and embedded content should be loaded dynamically after consent using JavaScript.
Multilingual
MLX Cookie Consent integrates with WPML and Polylang via String Translation.
Texts stored in plugin options are automatically available for translation.
Script logic remains category-based and shared across languages.
Advanced (Developers)
The plugin exposes optional WordPress filters:
- mlx_cc_options
- mlx_cc_categories
- mlx_cc_sections
- mlx_cc_preferences
These filters allow programmatic customization such as language-based logic,
conditional script loading, or dynamic category handling.
Screenshots
FAQ
ChangeLog






