Show cookie consent message at University of Michigan.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
vendor
CHANGELOG
LICENSE
README.md
umich-cookie-consent.php

README.md

Cookie Consent Message

Provides easy way to add GDPR compliant message to your site. This will only show for IP's geolocated to an EU country.

Actions

umich_cookie_consent_allowed

add_action( 'umich_cookie_consent_allowed', function( $status ){
    // your code here to execute when cookies are allowed
});

umich_cookie_consent_denied

add_action( 'umich_cookie_consent_denied', function( $status ){
    // your code here to execute when cookies are denied
});