# gdpr-framework/trunk/src/Components/Support/AdminTabSupport.php

The GDPR Framework By Data443, version trunk. 35 lines.

- Page: https://pluginprobe.com/plugins/gdpr-framework/trunk/code/src/Components/Support/AdminTabSupport.php
- Raw: https://pluginprobe.com/plugins/gdpr-framework/trunk/raw/src/Components/Support/AdminTabSupport.php
- Modified: 2021-08-02T13:49:42+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/trunk/code/src/Components/Support/AdminTabSupport.php#L10-L20`.

```php
<?php

namespace Codelight\GDPR\Components\Support;

use Codelight\GDPR\Admin\AdminTab;

class AdminTabSupport extends AdminTab
{
    protected $slug = 'support';

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

    public function init()
    {
        $this->registerSettingSection(
            'gdpr-section-support',
            _x('Support', '(Admin)', 'gdpr-framework'),
            [$this, 'renderTab']
        );
    }

    public function renderTab()
    {
        echo gdpr('view')->render('admin/support/contents');
    }

    public function renderSubmitButton()
    {
        // Intentionally left blank
    }
}

```
