The best GDPR compliance available! Allows visitors to grant explicit consent for ANY feature of your site. Control activation and deactivation of plugins, content, scripts and more before WordPress is even loaded.
Helps you to truely comply with European GDPR standards.
[gdpr_consent_settings]
This will render the GDPR Settings page. Options include:
popup
(bool) TRUE/FALSEopen
(bool) TRUE/FALSEsuffix
(string) Can be any string, this will be appended to the #id[gdpr_consent_embed]...[/gdpr_consent_embed]
This will wrap Inline content and hides it as long as NO consent is given. If consent is given the content is shown. Options include:
title
The title to render above the Inline consent block (Optional)id
or ids
the ID or list of ID’s (comma seperated) of consents needed to Activate the content.widget
(BOOL) true/false (Show the widget? Or just display a Notification ‘No consent was given.” This can be configured in the WP Admin Settings)suffix
Can be any string, this will be appended to the #ID (maybe used to resolve conflicts or display multiple settings pages.)[gdpr_consent_inactive_content]
(only work within [gdpr_consent_embed]
) splits the content as such; above is the Active content, below is the Inactive content. Depending on if consent was given or not it will be either the Active or Inactive content.(This feature is for Developers)
You can Programmatically check if a consent was given using WordPress Actions.
PLEASE NOTE:
Use do_action
NOT add_action
to check if the consent was set!
Available actions:
* gdprc_consent_%ID%_given
Example:
if(do_action('gdprc_consent_2635_given')){
echo 'Consent was given!';
}else{
// No consent was given
}
Alternatively you may use the wrapper method gdpr_consent(2635)
which is a regular PHP function.
This allows you to fully customize the look & feel of the plugin!
Available WordPress Template Filters for altering the HTML sections the GDPR Settings page.
Available WordPress Template Filters for altering the HTML sections of GDPR Consents.
Available WordPress Template Filters for altering the HTML sections of GDPR Embedded Content shortcode.
Available WordPress Template Filters for altering the HTML sections of GDPR Permissionbar.
Available WordPress Template Filters for altering the CSS rules of all GDPR elements.