You are here:Knowledge Base Developer Functions & Shortcodes
GDPR::save_consent( $user_id, $consent_id )
Save a user consent to the database.
GDPR::remove_consent( $user_id, $consent_id )
Remove a user consent from the database.
Print a set of checkboxes for all registered consent options.
Return a set of checkboxes for all registered consent options.
GDPR::save_user_consent_on_registration( $user_id )
Saves all the checked consent options to the user database and logs the registration to the audit log. This should be used in conjunction with GDPR::consent_checkboxes(). This functions should be called right after the user has been saved to the database.
has_consent( $consent_id )
Checks if a user has given a specific consent. Works for logged in users or visitors.
is_allowed_cookie( $cookie )
Checks if a cookie is allowed or not. Works for logged in users or visitors.
gdpr_request_form( $type )
Renders one of the request forms.
Possible types are: delete, rectify, complaint or export-data.
gdpr_preferences( $text )
Renders a button that opens the privacy preference center.
Renders the user deletion request form.
Renders the data rectification request form.
Renders the complaint form.
Renders the user data export request form.
Who we are
Our website address is: https://www.gothicanatomist.co.uk.
What personal data we collect and why we collect it
When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.