| 1 |
<?php |
| 2 |
/** |
| 3 |
* CCPA_Notification Extension |
| 4 |
* |
| 5 |
* @package NotificationX\Extensions |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace NotificationX\Extensions\CCPA; |
| 9 |
|
| 10 |
use NotificationX\GetInstance; |
| 11 |
use NotificationX\Extensions\Extension; |
| 12 |
|
| 13 |
/** |
| 14 |
* CCPA_Notification Extension |
| 15 |
* @method static CCPA_Notification get_instance($args = null) |
| 16 |
*/ |
| 17 |
class CCPA_Notification extends Extension { |
| 18 |
/** |
| 19 |
* Instance of CCPA_Notification |
| 20 |
* |
| 21 |
* @var CCPA_Notification |
| 22 |
*/ |
| 23 |
use GetInstance; |
| 24 |
|
| 25 |
public $priority = 20; |
| 26 |
public $id = 'ccpa_notification'; |
| 27 |
public $doc_link = 'https://notificationx.com/docs/how-to-configure-cookies-policy-for-website/'; |
| 28 |
public $types = 'gdpr'; |
| 29 |
// public $img = NOTIFICATIONX_ADMIN_URL . 'images/extensions/sources/vimeo.png'; |
| 30 |
public $show_on_module = false; |
| 31 |
public $show_on_type = false; |
| 32 |
|
| 33 |
/** |
| 34 |
* Initially Invoked when initialized. |
| 35 |
*/ |
| 36 |
public function __construct(){ |
| 37 |
parent::__construct(); |
| 38 |
} |
| 39 |
|
| 40 |
public function init_extension() |
| 41 |
{ |
| 42 |
$this->title = __('CCPA', 'notificationx'); |
| 43 |
} |
| 44 |
} |
| 45 |
|