Privacy Integration Example

Version 1.9.3

add_filter('alsp_privacy_data_inventory', function (array $items): array {
    $items['my_extension_external_refs'] = [
        'label' => __('External support references', 'my-extension'),
        'description' => __('External IDs stored by the Awedesk extension.', 'my-extension'),
        'personal_fields' => ['user_id', 'email', 'external_customer_id'],
        'exportable' => true,
        'erasable' => true,
        'policy' => __('We may store external support reference IDs to connect support requests with customer records.', 'my-extension'),
    ];

    return $items;
});