Simple Consent API to read and register the current consent category.
As of April 2026, WP Consent API is a WordPress api plugin with 200K+ active installations and a 5/5 rating from 2 reviews. It has been downloaded 835K+ times in total. Requires WordPress 5.0+ and PHP 7.4+. Available on WordPress.org since 2020. Actively maintained — updated within the last month. Downloads are down 21% this week. Top alternative: Disable REST API.
WP Consent API is a plugin that standardizes the communication of accepted consent categories between plugins. It requires a cookie banner plugin and, at least, one other plugin that supports the WP Consent API.
With this plugin, all supporting plugins can use the same set of methods to read and register the current consent category, allowing consent management plugins and other plugins to work together, improving compliance with privacy laws.
WARNING: the plugin itself will not handle consent. It will show you how many plugins you have without Consent API support and will improve compliance on your site by ensuring smooth communication between cookie banner plugins and plugins that set cookies or track user data.
Currently, it is possible for a consen…
The wp‑consent‑api plugin provides a clean, standardized way to manage user consent across plugins and themes. It solves a core problem with a lightweight API. This is definitely a feature that should be integrated into WordPress core to ensure consistent and compliant consent handling by default.
Louis was great helping me with an issue. Plugin works great and highly recommend!
| WordPress | 5.0+ requiredTested up to 6.9.4 |
| PHP | 7.4+ required |
Fix: typo in ‘preferences’ category, causing comment cookies functionality to follow functional category consent, props @sjinks
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.