# gdpr-framework/trunk/src/Admin/AdminTabInterface.php

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

- Page: https://pluginprobe.com/plugins/gdpr-framework/trunk/code/src/Admin/AdminTabInterface.php
- Raw: https://pluginprobe.com/plugins/gdpr-framework/trunk/raw/src/Admin/AdminTabInterface.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/Admin/AdminTabInterface.php#L10-L20`.

```php
<?php

namespace Codelight\GDPR\Admin;

interface AdminTabInterface
{
    /**
     * @return string
     */
    public function getSlug();

    /**
     * @return string
     */
    public function getTitle();

    /**
     * Use this function to register settings and fields
     *
     * @return void
     */
    public function init();

    /**
     * Wrapper around init() function.
     * You probably don't need to override this.
     *
     * @return void
     */
    public function setup();

    /**
     * Wrapper around render() function.
     * Automatically calls settings_fields(),  do_settings_sections() and submit_button().
     * Override this if you don't want the functions to be called.
     *
     * @return string
     */
    public function renderContents();
}
```
