# profile-builder/4.0.3/form-builder/integrations/gdpr-communication-preferences.php

User Profile Builder – Beautiful User Registration Forms, User Profiles &amp; User Role Editor, version 4.0.3. 15 lines.

- Page: https://pluginprobe.com/plugins/profile-builder/4.0.3/code/form-builder/integrations/gdpr-communication-preferences.php
- Raw: https://pluginprobe.com/plugins/profile-builder/4.0.3/raw/form-builder/integrations/gdpr-communication-preferences.php
- Modified: 2026-08-17T08:51:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/profile-builder/4.0.3/code/form-builder/integrations/gdpr-communication-preferences.php#L10-L20`.

```php
<?php
/**
 * GDPR Communication Preferences ↔ Form Builder: declare the addon field type active.
 */

if ( ! defined( 'ABSPATH' ) ) exit;

// Loaded via wppb_fb_load_addon_integrations(); do not include directly.

add_filter( 'wppb_fb_enabled_addon_field_types', 'wppb_gdprcp_fb_enable_field_type' );
function wppb_gdprcp_fb_enable_field_type( $types ) {
    $types[] = 'GDPR Communication Preferences';
    return $types;
}

```
