Category: Developer

Actions & Filters

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...

Learn More

Functions & Shortcodes

Functions 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. GDPR::consent_checkboxes() Print a set of checkboxes for...

Learn More