About this plugin
A Consent Receipt plugin for WordPress. The WP Consent Receipt plugin can be called from themes and other plugins via the wp_consent_receipt_button filter hook:
if (has_filter('wp_consent_receipt_button')) { $html = apply_filters('wp_consent_receipt_button', $html, $consentReceiptData); }
This implementation of the Consent Receipt is based on the specifcation of the Kantara Initiative – Consent & Information Sharing Work Group. org/confluence/display/infosharing/Consent+Receipt+Specification
Arbitrary section
The WP Consent Receipt plugin can be called from themes and other plugins via the wp_consent_receipt_button filter hook:
if (has_filter('wp_consent_receipt_button')) { $html = apply_filters('wp_consent_receipt_button', $html, $consentReceiptData); }
Example data for the $consentReceiptData associative array:
$consentReceiptData = array(
8',
// 1: This is the legal jurisdiction under which the processing of personal data occurs (MUST) 'jurisdiction' => 'US',
// 2: Timestamp of when the consent was issued (MUST) 'iat' => time(),
e. webform opt in, or implicit, verbal (MUST) 'moc' => 'web form',
// 4: Unique identifier for this consent receipt (MUST) 'jti' => '', // will be filled in by plugin
// 5: public key url 'publicKey' => get_site_url(). cr_public_key=true',
org', 'phone' => '+1 123-456-7890', ),
// 13: the internet and immediately accessible privacy policy of the service referred to by the receipt (MUST) 'policyUri' => $group->policy_url,
// 14: Name of the service that requires personal information. 'services' => array( array( 'serviceName' => 'Kantara Initiative '. org', 'thirdPartyDisclosure' => true, '3rdPartyName' => 'Google', ), ), ), ),
xyz',
// 23: Sensitive Data Y/N (MUST) 'sensitive' => false,
// 24: Category for Sensitive Information collection (MUST) 'spiCat' => array( //emtpy ),
); // End consentReceiptData array