| 1 |
<?php |
| 2 |
|
| 3 |
namespace Codelight\GDPR\Components\DoNotSell; |
| 4 |
|
| 5 |
if ( ! defined( 'ABSPATH' ) ) exit; |
| 6 |
|
| 7 |
class DoNotSell { |
| 8 |
|
| 9 |
public function __construct() { |
| 10 |
add_filter( 'gdpr/admin/tabs', array( $this, 'registerAdminTab' ), 36 ); |
| 11 |
} |
| 12 |
|
| 13 |
public function registerAdminTab( $tabs ) { |
| 14 |
$tabs['do-not-sell'] = new AdminTabDoNotSell(); |
| 15 |
return $tabs; |
| 16 |
} |
| 17 |
} |
| 18 |
|