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 / Components / PrivacyManager / PrivacyManager.php

PrivacyManager.php in The GDPR Framework By Data443 trunk, at src/Components/PrivacyManager/PrivacyManager.php

27 lines 545 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\Components\PrivacyManager;
4
5 if ( ! defined( 'ABSPATH' ) ) exit;
6
7 /**
8 * Handles putting together and rendering the privacy policy page
9 *
10 * Class PrivacyManager
11 *
12 * @package Codelight\GDPR\Components\PrivacyManager
13 */
14 class PrivacyManager
15 {
16 public function __construct()
17 {
18 add_filter('gdpr/admin/tabs', [$this, 'registerAdminTab'], 80);
19 }
20
21 public function registerAdminTab($tabs)
22 {
23 $tabs['privacy-manager'] = new AdminTabPrivacyManager();
24 return $tabs;
25 }
26 }
27