# gdpr-framework/2.1.0/src/Components/AdvancedIntegration/AdminTabAdvancedIntegration.php

The GDPR Framework By Data443, version 2.1.0. 41 lines.

- Page: https://pluginprobe.com/plugins/gdpr-framework/2.1.0/code/src/Components/AdvancedIntegration/AdminTabAdvancedIntegration.php
- Raw: https://pluginprobe.com/plugins/gdpr-framework/2.1.0/raw/src/Components/AdvancedIntegration/AdminTabAdvancedIntegration.php
- Modified: 2021-10-26T19:08:36+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/gdpr-framework/2.1.0/code/src/Components/AdvancedIntegration/AdminTabAdvancedIntegration.php#L10-L20`.

```php
<?php

namespace Codelight\GDPR\Components\AdvancedIntegration;

use Codelight\GDPR\Admin\AdminTab;

class AdminTabAdvancedIntegration extends AdminTab
{
    /* @var string */
    protected $slug = 'advanced-integration';

    /* @var PolicyGenerator */
    protected $policyGenerator;

    public function __construct()
    {
        $this->title = _x('Data Hound', '(Admin)', 'gdpr-framework');

        add_action('gdpr/admin/action/AdvancedIntegration/generate', [$this, 'generateAdvancedIntegration']);
    }

    public function init()
    {
        $this->registerSettingSection(
            'gdpr_section_privacy_policy',
            _x('Data Hound', '(Admin)', 'gdpr-framework'),
            [$this, 'renderHeader']
        );
    }

    public function renderHeader()
    {
        echo gdpr('view')->render('admin/advanced-integration/header');
    }

    public function renderSubmitButton()
    {
        // leave an empty method to prevent the placement of the default save button
    }
}

```
