| 1 |
<?php |
| 2 |
|
| 3 |
namespace MasterAddons\Inc\Classes\Notifications; |
| 4 |
|
| 5 |
use MasterAddons\Inc\Classes\Notifications\Base\Data; |
| 6 |
|
| 7 |
// No, Direct access Sir !!! |
| 8 |
if (!defined('ABSPATH')) { |
| 9 |
exit; |
| 10 |
} |
| 11 |
|
| 12 |
/** |
| 13 |
* Notice Manager |
| 14 |
* |
| 15 |
* Jewel Theme <support@jeweltheme.com> |
| 16 |
*/ |
| 17 |
class Manager extends Data |
| 18 |
{ |
| 19 |
|
| 20 |
/** |
| 21 |
* Constructor method |
| 22 |
* |
| 23 |
* @author Jewel Theme <support@jeweltheme.com> |
| 24 |
*/ |
| 25 |
public function __construct() |
| 26 |
{ |
| 27 |
|
| 28 |
// Register Latest_Updates Notice. |
| 29 |
$this->register(new Latest_Updates()); |
| 30 |
|
| 31 |
// Register Ask_For_Rating Notice. |
| 32 |
$this->register(new Ask_For_Rating()); |
| 33 |
|
| 34 |
// Register Subscribe Notice . |
| 35 |
$this->register(new Subscribe()); |
| 36 |
|
| 37 |
// Register What we Collect Notice . |
| 38 |
$this->register(new What_We_Collect()); |
| 39 |
|
| 40 |
// Register Upgrade_Notice Notice for managing all notices . |
| 41 |
$this->register(new Upgrade_Notice()); |
| 42 |
|
| 43 |
// Register New_Features_Notice with confetti animation. |
| 44 |
// $this->register(new New_Features_Notice()); |
| 45 |
|
| 46 |
// Register Pro_Sale_Notice with confetti animation. |
| 47 |
// if(ma_el_fs()->is_free_plan() ){ |
| 48 |
// $this->register(new Pro_Sale_Notice()); |
| 49 |
// } |
| 50 |
|
| 51 |
// Register Promo Pointer for promotional campaigns (free users only). |
| 52 |
new Promo_Pointer(); |
| 53 |
} |
| 54 |
} |
| 55 |
|