[wp-trac] [WordPress Trac] #43797: Consent Logging
WordPress Trac
noreply at wordpress.org
Wed Apr 18 15:14:00 UTC 2018
#43797: Consent Logging
-------------------------+------------------------------
Reporter: xkon | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr | Focuses:
-------------------------+------------------------------
Comment (by Shelob9):
I'm the author of Caldera Forms, a fairly popular plugin on WordPress.org
for making forms. [We are working on adding a field to consent to
personally identifying](https://github.com/CalderaWP/Caldera-
Forms/issues/2428). It would be very helpful to me, if I had an API like
this:
{{{#!php
<?php
//$consent_api contains instance of class that serves as API for this info
//Check if we have consent, by email address
$has_consent = $consent_api->has_given_consent( 'hi at hiroy.club' );
//Record consent by email address
$consent_api->add_consent( 'hi at hiroy.club' );
//Remove consent by email address
$consent_api->remove_consent( 'hi at hiroy.club' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43797#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list