PluginProbe
The GDPR Framework By Data443 / trunk
The GDPR Framework By Data443 vtrunk
2.5.0 2.4.0 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.3 1.0.33 1.0.34 1.0.35 1.0.36 1.0.37 1.0.39 1.0.4 1.0.40 1.0.41 1.0.42 1.0.43 1.0.44 1.0.45 1.0.46 All 41 releases
gdpr-framework / src / Admin / AdminTabInterface.php

AdminTabInterface.php in The GDPR Framework By Data443 trunk, at src/Admin/AdminTabInterface.php

40 lines 784 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Codelight\GDPR\Admin;
4
5 interface AdminTabInterface
6 {
7 /**
8 * @return string
9 */
10 public function getSlug();
11
12 /**
13 * @return string
14 */
15 public function getTitle();
16
17 /**
18 * Use this function to register settings and fields
19 *
20 * @return void
21 */
22 public function init();
23
24 /**
25 * Wrapper around init() function.
26 * You probably don't need to override this.
27 *
28 * @return void
29 */
30 public function setup();
31
32 /**
33 * Wrapper around render() function.
34 * Automatically calls settings_fields(), do_settings_sections() and submit_button().
35 * Override this if you don't want the functions to be called.
36 *
37 * @return string
38 */
39 public function renderContents();
40 }