{"id":3181,"date":"2025-02-14T05:56:05","date_gmt":"2025-02-14T05:56:05","guid":{"rendered":"https:\/\/s-o-s.net\/wp-consent-api\/"},"modified":"2025-02-14T05:56:05","modified_gmt":"2025-02-14T05:56:05","slug":"wp-consent-api","status":"publish","type":"post","link":"https:\/\/s-o-s.net\/en_gb\/wp-consent-api\/","title":{"rendered":"WP Consent API"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<article id=\"post-116926\" class=\"alignwide post-116926 plugin type-plugin status-publish hentry plugin_tags-api plugin_tags-compliance plugin_tags-consent plugin_tags-cookies plugin_tags-privacy plugin_category-security-and-spam-protection plugin_contributors-aahulsebos plugin_contributors-aurooba plugin_contributors-markwolters plugin_contributors-mujuonly plugin_contributors-paapst plugin_contributors-phpgeekdk plugin_contributors-pputzer plugin_contributors-rogierlankhorst plugin_contributors-szepeviktor plugin_contributors-wordpressdotorg plugin_contributors-xkon plugin_business_model-community plugin_committers-azaozz plugin_committers-ironprogrammer plugin_committers-rogierlankhorst plugin_support_reps-aahulsebos plugin_support_reps-jarnovos plugin_support_reps-leonwimmenhoeve\">\n<div class=\"plugin-banner\" id=\"plugin-banner-wp-consent-api\"><\/div>\n<header class=\"plugin-header\">\n<div class=\"entry-heading-container\">\n<div>\n<div class=\"entry-thumbnail\">\n\t\t\t\t\t<img decoding=\"async\" class=\"plugin-icon\" srcset=\"https:\/\/ps.w.org\/wp-consent-api\/assets\/icon-128x128.png?rev=2239568, https:\/\/ps.w.org\/wp-consent-api\/assets\/icon-256x256.png?rev=2239568 2x\" src=\"https:\/\/ps.w.org\/wp-consent-api\/assets\/icon-256x256.png?rev=2239568\" alt=\"\">\t\t\t\t<\/div>\n<div>\n<h1 class=\"plugin-title\">WP Consent API<\/h1>\n<p>\t\t\t\t\t<span class=\"byline\">By <span class=\"author vcard\"><a target=\"_blank\" class=\"url fn n\" href=\"https:\/\/profiles.wordpress.org\/rogierlankhorst\/\" rel=\"noopener\">Rogier Lankhorst<\/a><\/span><\/span>\n\t\t\t\t<\/div>\n<\/p><\/div>\n<div class=\"plugin-actions\">\n<div class=\"wp-block-button is-small plugin-download download-button\"><a target=\"_blank\" class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/downloads.wordpress.org\/plugin\/wp-consent-api.1.0.8.zip\" rel=\"noopener\">Download<\/a><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<p>\t<span id=\"description\"><\/span><br \/>\n\t<span id=\"reviews\"><\/span><br \/>\n\t<span id=\"installation\"><\/span><br \/>\n\t<span id=\"developers\"><\/span><br \/>\n\t<span id=\"advanced\" class=\"\"><\/span><br \/>\n\t<span id=\"section-links\"><\/p>\n<ul class=\"tabs clear\">\n<li id=\"tablink-description\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-consent-api\/#description\" rel=\"noopener\">Details<\/a><\/li>\n<li id=\"tablink-reviews\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-consent-api\/#reviews\" rel=\"noopener\">Reviews<\/a><\/li>\n<li id=\"tablink-installation\">\n\t\t\t\t<a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-consent-api\/#installation\" rel=\"noopener\">Installation<\/a>\n\t\t\t<\/li>\n<li id=\"tablink-developers\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-consent-api\/#developers\" rel=\"noopener\">Development<\/a><\/li>\n<\/ul>\n<div id=\"link-support\">\n\t\t\t<a target=\"_blank\" href=\"https:\/\/wordpress.org\/support\/plugin\/wp-consent-api\/\" rel=\"noopener\">Support<\/a>\n\t\t<\/div>\n<p>\t<\/span><br \/>\n\t<script type=\"text\/javascript\">if ( '#changelog' == window.location.hash ) { window.setTimeout( function() { window.location.hash=\"#developers\"; }, 10 ); }<\/script><\/p>\n<div class=\"entry-content\">\n<div id=\"tab-description\" class=\"plugin-description section\">\n<h2 id=\"description-header\">Description<\/h2>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<h4>What problem does this plugin solve?<\/h4>\n<p>Currently, it is possible for a consent management plugin to block third-party services like Facebook, Google Maps, Twitter, etc. But if a WordPress plugin places a PHP cookie, a consent management plugin cannot prevent this.<\/p>\n<p>Secondly, some plugins integrate the tracking code on the clientside in javascript files that, when blocked, break the site.<\/p>\n<p>Or, if such a plugin\u2019s javascript is minified, causing the URL to be unrecognizable and won\u2019t get detected by an automatic blocking script.<\/p>\n<p>Lastly, the blocking approach requires a list of all types of URL\u2019s that tracks data. A generic API where plugins adhere to can greatly<br \/>\nfacilitate a webmaster in getting a site compliant.<\/p>\n<h4>Does usage of this API prevent third-party services from tracking user data?<\/h4>\n<p>Primary this API is aimed at compliant first-party cookies or tracking by WordPress plugins. If such a plugin triggers, for example, Facebook,<br \/>\nusage of this API will be of help. If a user embeds a Facebook iframe, a blocking tool is needed that initially disables the iframe and or scripts.<\/p>\n<p>Third-party scripts have to blocked by blocking functionality in a consent management plugin. To do this in core would be to intrusive, and is also not applicable to all users: only users with visitors from opt-in regions such as the European Union require such a feature. Such a feature also has a risk of breaking things. Additionally, blocking these and showing a nice placeholder requires even more sophisticated code, all of which should in my opinion not be part of WordPress core, for the same reasons.<\/p>\n<h4>How does it work?<\/h4>\n<p>There are two indicators that together tell if consent is given for a specific consent category, e.g., \u201cmarketing\u201d:<br \/>\n1) the region based consent_type, which<br \/>\ncan be opt-in, opt-out, or other possible consent_types;<br \/>\n2) and the visitor\u2019s choice: not set, allow, or deny.<\/p>\n<p>The consent_type is a function that wraps a filter, \u201cwp_get_consent_type\u201d. If there\u2019s no consent management plugin to set it, it will return false. This will cause all consent categories to return true, allowing cookies to be set on all categories.<\/p>\n<p>If opt-in is set using this filter, a category will only return true if the value of the visitor\u2019s choice is \u201callow\u201d.<\/p>\n<p>If the region based consent_type is opt-out, it will return true if the visitor\u2019s choice is not set or is \u201callow\u201d.<\/p>\n<p>Clientside, a consent management plugin can dynamically manipulate the consent type and set several cookie categories.<\/p>\n<p>A plugin can use a hook to listen for changes or check the value of a given category.<\/p>\n<p>Categories and most other stuff can be extended with a filter.<\/p>\n<h3>Existing integrations<\/h3>\n<p>Categorized, and sorted alphabetically<\/p>\n<h4>Example plugin<\/h4>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/github.com\/rlankhorst\/consent-api-example-plugin\" rel=\"nofollow ugc noopener\">Example plugin<\/a>. The plugin basically consists of a shortcode, with a div that shows a tracking or not tracking message. No actual tracking is done \ud83d\ude42<\/li>\n<\/ul>\n<h4>Consent Management Providers<\/h4>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/complianz-gdpr\/\" rel=\"ugc noopener\">Complianz GDPR\/CCPA<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/cookiebot\" rel=\"ugc noopener\">Cookiebot<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/cookiehub\/\" rel=\"ugc noopener\">CookieHub<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/cookie-law-info\/\" rel=\"ugc noopener\">CookieYes \u2013 Cookie Banner for Cookie Consent<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/gdpr-cookie-compliance\/\" rel=\"ugc noopener\">GDPR Cookie Compliance<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/www.webtoffee.com\/product\/gdpr-cookie-consent\/\" rel=\"nofollow ugc noopener\">GDPR Cookie Consent Plugin \u2013 CCPA Ready<\/a>.<\/li>\n<\/ul>\n<h4>Consent Requiring Plugins<\/h4>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/add-to-any\/\" rel=\"ugc noopener\">AddToAny<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/www.appfromlab.com\/product\/woocommerce-utm-tracker-plugin\/\" rel=\"nofollow ugc noopener\">AFL UTM Tracker Plugin<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/burst-statistics\/\" rel=\"ugc noopener\">Burst Statistics<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/google-site-kit\/\" rel=\"ugc noopener\">Google Site Kit<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/woocommerce-google-adwords-conversion-tracking-tag\/\" rel=\"ugc noopener\">Pixel Manager for WooCommerce<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" rel=\"ugc noopener\">Woo<\/a>.<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-statistics\/\" rel=\"ugc noopener\">WP Statistics<\/a>.<\/li>\n<\/ul>\n<h3>Demo site<\/h3>\n<p><a target=\"_blank\" href=\"https:\/\/wpconsentapi.org\/\" rel=\"nofollow ugc noopener\">wpconsentapi.org<\/a><br \/>\nBelow are the plugins used to set up the demo site:<\/p>\n<ul>\n<li>Complianz<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/github.com\/rlankhorst\/consent-api-example-plugin\" rel=\"nofollow ugc noopener\">The example plugin<\/a><\/li>\n<\/ul>\n<h4>javascript, consent management plugin<\/h4>\n<pre><code>\/\/set consent type\nwindow.wp_consent_type=\"optin\"\n\n\/\/dispatch event when consent type is defined. This is useful if the region is detected server side, so the consent type is defined later during the pageload\nlet event = new CustomEvent('wp_consent_type_defined');\ndocument.dispatchEvent( event );\n\n\/\/consent management plugin sets cookie when consent category value changes\nwp_set_consent('marketing', 'allow');\n<\/code><\/pre>\n<h4>javascript, tracking plugin<\/h4>\n<pre><code>\/\/listen to consent change event\ndocument.addEventListener(\"wp_listen_for_consent_change\", function (e) {\n  var changedConsentCategory = e.detail;\n  for (var key in changedConsentCategory) {\n    if (changedConsentCategory.hasOwnProperty(key)) {\n      if (key === 'marketing' &amp;&amp; changedConsentCategory[key] === 'allow') {\n        console.log(\"just given consent, track user\")\n      }\n    }\n  }\n});\n\n\/\/basic implementation of consent check:\nif (wp_has_consent('marketing')){\n  activateMarketing();\n  console.log(\"set marketing stuff now!\");\n} else {\n  console.log(\"No marketing stuff please!\");\n}\n<\/code><\/pre>\n<h4>PHP<\/h4>\n<pre><code>\/\/declare compliance with consent level API\n$plugin = plugin_basename( __FILE__ );\nadd_filter( \"wp_consent_api_registered_{$plugin}\", '__return_true' );\n\n\/**\n* Example how a plugin can register cookies with the consent API\n * These cookies can then be shown on the front-end, to the user, with wp_get_cookie_info()\n *\/\n\nfunction my_wordpress_register_cookies(){\n    if ( function_exists( 'wp_add_cookie_info' ) ) {\n        wp_add_cookie_info( 'AMP_token', 'AMP', 'marketing', __( 'Session' ), __( 'Store a unique User ID.' ) );\n    }\n}\nadd_action('plugins_loaded', 'my_wordpress_register_cookies');\n\n\nif (wp_has_consent('marketing')){\n\/\/do marketing stuff\n}\n<\/code><\/pre>\n<p>Any code suggestions? We\u2019re on <a target=\"_blank\" href=\"https:\/\/github.com\/rlankhorst\/wp-consent-level-api\" rel=\"nofollow ugc noopener\">GitHub<\/a> as well!<\/p>\n<\/div>\n<div id=\"tab-installation\" class=\"plugin-installation section\">\n<h2 id=\"installation-header\">Installation<\/h2>\n<p>To install this plugin:<\/p>\n<p>Download the plugin<br \/>\nUpload the plugin to the wp-content\/plugins directory,<br \/>\nGo to \u201cplugins\u201d in your WordPress admin, then click activate.<\/p>\n<\/div>\n<div id=\"faq\" class=\"plugin-faq section\">\n<h2 id=\"faq-header\">FAQ<\/h2>\n<dl>\n<dt id=\"does%20this%20plugin%20block%20third%20party%20services%20from%20placing%20cookies%3F\">\n<h3>Does this plugin block third party services from placing cookies?<\/h3>\n<\/dt>\n<dd>\n<p>No, this plugin provides a framework through which plugins can know if they are allowed to place cookies or track user data.<br \/>\nThe plugin requires both a consent management plugin for consent management and a plugin that follows the consent level as can be read from this API.<\/p>\n<\/dd>\n<dt id=\"how%20should%20i%20go%20about%20integrating%20my%20plugin%3F\">\n<h3>How should I go about integrating my plugin?<\/h3>\n<\/dt>\n<dd>\n<p>For each action that places cookies or tracks user data, you should consider what type of tracking takes place. There are 5 consent categories:<br \/>\nfunctional, statistics-anonymous, statistics, preferences, marketing. These are explained below. Your code should check if consent has been given for the applicable category. If no cookie banner plugin is active,<br \/>\nthe Consent API will always return with consent (true).<br \/>\nPlease check out the example plugin, and the above code examples.<\/p>\n<\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20the%20consent%20categories%3F\">\n<h3>What is the difference between the consent categories?<\/h3>\n<\/dt>\n<dd>\n<p>Statistics:<br \/>\nCookies or any other form of local storage that are used exclusively for statistical purposes (Analytics Cookies).<\/p>\n<p>Statistics-anonymous:<br \/>\nCookies or any other form of local storage that are used exclusively for anonymous statistical purposes (Anonymous Analytics Cookies), that are placed on a first party domain, and that do not allow identification of particular individuals.<\/p>\n<p>Marketing:<br \/>\nCookies or any other form of local storage required to create user profiles to send advertising or to track the user on a website or across websites for similar marketing purposes.<\/p>\n<p>Functional:<br \/>\nThe cookie or any other form of local storage is used for the sole purpose of carrying out the transmission of a communication over an electronic communications network;<\/p>\n<p>OR<\/p>\n<p>The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user. If cookies are disabled, the requested functionality will not be available. This makes them essential functional cookies.<\/p>\n<p>Preferences:<br \/>\nCookies or any other form of local storage that can not be seen as statistics, statistics-anonymous, marketing or functional, and where the technical storage or access is necessary for the legitimate purpose of storing preferences.<\/p>\n<\/dd>\n<\/dl>\n<\/div>\n<div id=\"tab-reviews\" class=\"plugin-reviews section\">\n<h2 id=\"reviews-header\">Reviews<\/h2>\n<div class=\"plugin-reviews\">\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/72d20e38966793032cc055e7e7563494b8f37cac5b26fc92fcd271bd57be5e28?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/72d20e38966793032cc055e7e7563494b8f37cac5b26fc92fcd271bd57be5e28?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/great-support-team-187\/\" rel=\"noopener\">Great Support Team<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/brightvesseldev\/\" title=\"Posts by brightvesseldev\" rel=\"author noopener\">brightvesseldev<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">September 25, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">Louis was great helping me with an issue. Plugin works great and highly recommend!<\/div>\n<\/p><\/div>\n<\/article><\/div>\n<p>\t\t<a target=\"_blank\" class=\"reviews-link\" href=\"https:\/\/wordpress.org\/support\/plugin\/wp-consent-api\/reviews\/\" rel=\"noopener\"><br \/>\n\t\t\tRead all 1 review\t\t<\/a><\/div>\n<div id=\"tab-developers\" class=\"plugin-developers section\">\n<h2 id=\"developers-header\">Contributors &amp; Developers<\/h2>\n<div class=\"plugin-contributors\">\n<p>\u201cWP Consent API\u201d is open source software. The following people have contributed to this plugin.<\/p>\n<p><span class=\"screen-reader-text\">Contributors<\/span><\/p>\n<ul id=\"contributors-list\" class=\"contributors-list\">\n<li>\n\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/178f40079143ff7464125e4fbc88e62024a16442920a6a3d6dfa3d7e626be20d?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/178f40079143ff7464125e4fbc88e62024a16442920a6a3d6dfa3d7e626be20d?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/wordpressdotorg\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tWordPress.org\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/da7d8197d253a9a792bf908dd77b0d4bcbf2d192f514ed4206903a96fd93f9b9?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/da7d8197d253a9a792bf908dd77b0d4bcbf2d192f514ed4206903a96fd93f9b9?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/rogierlankhorst\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tRogier Lankhorst\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/18a4d9770d6f2183638e1bdc0708e0776f22cd4dcc88a0cc60facce1e1987722?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/18a4d9770d6f2183638e1bdc0708e0776f22cd4dcc88a0cc60facce1e1987722?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/xkon\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tKonstantinos Xenos\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/ccc7963980b7bcc56ad3428720ec3f5eafb318b1f6a1bcbe459a4f5388a3a2d8?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/ccc7963980b7bcc56ad3428720ec3f5eafb318b1f6a1bcbe459a4f5388a3a2d8?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/aurooba\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tAurooba Ahmed\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/9dfd441771ce6855341932e079bbca5ffd91c69a48ffc114280bb62433ff053c?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/9dfd441771ce6855341932e079bbca5ffd91c69a48ffc114280bb62433ff053c?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/mujuonly\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tmujuonly\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/df527ae34181a312e74d3079b7441385c186a8deca1d84b80d0ce2af367128dd?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/df527ae34181a312e74d3079b7441385c186a8deca1d84b80d0ce2af367128dd?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/phpgeekdk\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tJohan Holst Nielsen\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/8afa7404247240959b9a36349f5b702e1187125ee7cb418fa48d85c972b31235?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/8afa7404247240959b9a36349f5b702e1187125ee7cb418fa48d85c972b31235?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/paapst\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tMathieu Paapst\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/dcb9f340fc929b6531b2068c0921e806176c257dea2b8d47dbf44baeb2d9cb73?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/dcb9f340fc929b6531b2068c0921e806176c257dea2b8d47dbf44baeb2d9cb73?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/aahulsebos\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tAert Hulsebos\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/fd38b441a1400988087975f7bda6918bda01533723b7b5aab2bb2ab5279b9a9e?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/fd38b441a1400988087975f7bda6918bda01533723b7b5aab2bb2ab5279b9a9e?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/pputzer\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tpepe\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/dab3ec58d4eedf545a03eff2ac363eaec029f64c05600d749b3fd923a4fc1432?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/dab3ec58d4eedf545a03eff2ac363eaec029f64c05600d749b3fd923a4fc1432?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/markwolters\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tMark\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/135d8104cdf926e2b15b6a06413153a9582729f0cd48ccba7bc7e62878a39781?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/135d8104cdf926e2b15b6a06413153a9582729f0cd48ccba7bc7e62878a39781?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/szepeviktor\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tViktor Sz\u00e9pe\t\t\t\t<\/a>\n\t\t\t<\/li>\n<\/ul><\/div>\n<div class=\"plugin-development\">\n<p>\u201cWP Consent API\u201d has been translated into 17 locales. Thank you to <a target=\"_blank\" href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/wp-consent-api\/contributors\" rel=\"noopener\">the translators<\/a> for their contributions.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/wp-consent-api\" rel=\"noopener\">Translate \u201cWP Consent API\u201d into your language.<\/a><\/p>\n<h3>Interested in development?<\/h3>\n<p><a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/browser\/wp-consent-api\/\" rel=\"noopener\" class=\"broken_link\">Browse the code<\/a>, check out the <a target=\"_blank\" href=\"https:\/\/plugins.svn.wordpress.org\/wp-consent-api\/\" rel=\"noopener\">SVN repository<\/a>, or subscribe to the <a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/log\/wp-consent-api\/\" rel=\"noopener\" class=\"broken_link\">development log<\/a> by <a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/log\/wp-consent-api\/?limit=100&amp;mode=stop_on_copy&amp;format=rss\" rel=\"noopener\" class=\"broken_link\">RSS<\/a>.<\/p>\n<\/div>\n<\/div>\n<div id=\"tab-changelog\" class=\"plugin-changelog section\">\n<h2 id=\"changelog-header\">Changelog<\/h2>\n<h4>1.0.8<\/h4>\n<ul>\n<li>Updated tested up to<\/li>\n<li>Dropped loading of translations, and loading of plugin_data, to prevent translation loading notices by WordPress 6.7, props @mujuonly<\/li>\n<li>Dropped obsolete function wp_has_cookie_info, props @szepeviktor<\/li>\n<\/ul>\n<h4>1.0.7<\/h4>\n<ul>\n<li>Tested up to<\/li>\n<\/ul>\n<h4>1.0.7<\/h4>\n<ul>\n<li>Tested up to<\/li>\n<\/ul>\n<h4>1.0.6<\/h4>\n<ul>\n<li>Tested up to<\/li>\n<\/ul>\n<h4>1.0.5<\/h4>\n<ul>\n<li>tested up to<\/li>\n<\/ul>\n<h4>1.0.4<\/h4>\n<ul>\n<li>Improvement: only fire on change event if an actual change was detected on the consent.<\/li>\n<\/ul>\n<h4>1.0.3<\/h4>\n<ul>\n<li>Fix: wp_has_consent function contained a condition which caused it to always return true on serverside optin consent checks.<\/li>\n<\/ul>\n<h4>1.0.2<\/h4>\n<ul>\n<li>Fix $collected_personal_data documentation, as $is_personal_data was deprecated (props @jazzsequence, https:\/\/github.com\/rlankhorst\/wp-consent-level-api\/issues\/54)<\/li>\n<li>Fix the docblock so it reflects the actual value returned (props @jazzsequence, https:\/\/github.com\/rlankhorst\/wp-consent-level-api\/issues\/52)<\/li>\n<li>Styling changes to site health<\/li>\n<li>Code structure changes<\/li>\n<li>Removed is_personal_data property, as it\u2019s implicitly contained in the personaldata property<\/li>\n<li>Made cookie prefix filterable props @jazzsequence<\/li>\n<\/ul>\n<h4>1.0.1<\/h4>\n<ul>\n<li>Cookiebot added as existing integration<\/li>\n<li>Some small improvements to comply with WordPress coding styles<\/li>\n<\/ul>\n<h4>1.0.0<\/h4>\n<ul>\n<li>changed consent_api_setcookie into consent_api_set_cookie for naming consistency with the getcookie method<\/li>\n<li>added prefix in javascript set and get methods, to be compatible with PHP cookies, props @phpgeek<\/li>\n<li>removed duplicate statistics category, props @phpgeek<\/li>\n<\/ul>\n<\/div><\/div>\n<p><!-- .entry-content --><\/p>\n<p>\t<!-- .entry-meta --><br \/>\n<\/article>\n<p><br \/>\n<br \/><a href=\"https:\/\/wordpress.org\/plugins\/wp-consent-api\/\" target=\"_blank\" rel=\"noopener\">Source link <\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>WP Consent API By Rogier Lankhorst Download Details Reviews Installation Development Support Description 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 [&hellip;]<\/p>","protected":false},"author":55,"featured_media":3182,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"give_campaign_id":0,"footnotes":""},"categories":[1933,39,40],"tags":[2136,1995],"class_list":["post-3181","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-community-plugin","category-lite-version","category-wp-plugin-solution","tag-api","tag-consent"],"acf":[],"fifu_image_url":"https:\/\/ps.w.org\/wp-consent-api\/assets\/banner-772x250.png?rev=2239568","_links":{"self":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts\/3181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/comments?post=3181"}],"version-history":[{"count":0,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts\/3181\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/media\/3182"}],"wp:attachment":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/media?parent=3181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/categories?post=3181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/tags?post=3181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}