| 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 |
|