Actions & Filters

You are here:

Filters

gdpr_settings_pages

Use this filter to add another settings tab. Use in conjunction with the actiongdpr_extra_settings.

add_filter( 'gdpr_settings_pages', 'add_settings_tab' );
function add_settings_tab( $tabs ) {
  $tabs['my_new_tab'] = esc_html__( 'My New Tab', 'textdomain' );
  return $tabs;
}

 

gdpr_do_not_reply_address

Use this if you want your reply email address to be something other than noreply@yoursitename.com

gdpr_email_types

The list of email types and the respective email subjects.
Array key is the filename, value is the email subject.

gdpr_user_has_content

Checks if the user has some content published on the site. Use this if you want to perform custom queries.

gdpr_export_data_extra_tables

Adds extra information to the user data exports.

gdpr_privacy_bar_button_text

Changes the privacy bar button text.

gdpr_admin_notification_email

Changes the admin email that will receive notifications.

gdpr_complaint_request_form_submit_text

Change the complaint request form submit button label.

gdpr_delete_request_form_submit_text

Change the deletion request form submit button label.

gdpr_export_data_request_form_submit_text

Change the data export request form submit button label.

gdpr_rectify_request_form_submit_text

Change the data rectification request form submit button label.

Actions

admin_access_data_extra_tables

Adds extra information to the user data exports when looking up manually in the dashboard.

gdpr_extra_settings

Add extra markup to the settings pages. Use this in conjunction with gdpr_settings_pages filter.