Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 2411 days ago
Is WP Consent Receipt abandoned?
Possibly abandoned (last update 2411 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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. For more information about the Consent Receipt and for the latest specification see: http://kantarainitiative.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(
// 0: Version
'version' => '0.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(),
// 3: Is used to describe how the consent was collected i.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',
// 6: The identity and company of the data controller and any party nominated to be data controller on behalf of org (MUST)
'dataController' => array(
'onBehalf' => false,
'contact' => 'John Doe',
'company' => 'Kantara Initiative, Inc.',
'address' => '401 Edgewater Place, Suite 600, Wakefield, MA, 01880 USA',
'email' => '[email protected]',
'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 ' . $group->group_name,
'purposes' => array(
array(
'purpose' => 'Authority to sign Participation Agreement',
'consentType' => 'Explicit',
'purposeCategory' => array(
'Affiliation',
),
'piiCategory' => array(
'Membership',
),
'nonCorePurpose' => false,
'purposeTermination' => $group->policy_url,
'thirdPartyDisclosure' => false,
),
array(
'purpose' => 'Voting Status',
'consentType' => 'Explicit',
'purposeCategory' => array(
'Core Function',
),
'piiCategory' => array(
'Membership',
),
'nonCorePurpose' => true,
'purposeTermination' => '(when no activity)',
'thirdPartyDisclosure' => false,
),
array(
'purpose' => 'Agree to IPR Policy',
'consentType' => 'Explicit',
'purposeCategory' => array(
'Core Function',
),
'piiCategory' => array(
'Membership',
),
'nonCorePurpose' => false,
'purposeTermination' => '[email protected]',
'thirdPartyDisclosure' => false,
),
array(
'purpose' => 'Web statistics',
'consentType' => 'Explicit',
'purposeCategory' => array(
'Improve Performance',
),
'piiCategory' => array(
'Network/Service',
),
'nonCorePurpose' => false,
'purposeTermination' => '[email protected]',
'thirdPartyDisclosure' => true,
'3rdPartyName' => 'Google',
),
),
),
),
// 21: Subject provided identifier, email address - or Claim, defined/namespaced (MUST)
'sub' => '[email protected]',
// 23: Sensitive Data Y/N (MUST)
'sensitive' => false,
// 24: Category for Sensitive Information collection (MUST)
'spiCat' => array(
//emtpy
),
); // End consentReceiptData array
Installation
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/wp-consent-receiptdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Call the plugin from your theme or other plugin via the wp_consent_receipt_button filter hook (see Other Notes tab).
Frequently Asked Questions
How can I use the plugin?
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);
}
Review feed
Screenshots
Changelog
0.21
- Initial Version
0.22
- Minor bugfixes
0.23
- New JSON field names, matches the updated spec from Kantara Initiative
0.24
- Support for Consent Receipt spec 0.8 from Kantara Initiative
- New mode 1 receipt (=visual display for end user) – work in progress
0.25
- Bug fix
0.26
- Bug fix for from address when email receipt
0.27
- Improved visual display of consent receipt (mode 1)
0.28
- Bugfix i18n