| 1 |
<?php |
| 2 |
namespace Booktics; |
| 3 |
|
| 4 |
use Arraytics\PluginNotice\PluginNotice; |
| 5 |
|
| 6 |
/** |
| 7 |
* Plugin Notice Class |
| 8 |
*/ |
| 9 |
class Plugin_Notice { |
| 10 |
|
| 11 |
/** |
| 12 |
* Initiate plugin notice |
| 13 |
* |
| 14 |
* @return void |
| 15 |
*/ |
| 16 |
public static function run() { |
| 17 |
|
| 18 |
$notifyer = new PluginNotice([ |
| 19 |
'plugin_slug' => 'booktics', |
| 20 |
'plugin_name' => 'booktics', |
| 21 |
'plugin_url' => 'https://arraytics.com/booktics', |
| 22 |
'support_url' => 'https://arraytics.com/support', |
| 23 |
'review_url' => 'https://wordpress.org/support/plugin/booktics/reviews/#new-post', |
| 24 |
'allowed_screens' => 'toplevel_page_booktics', |
| 25 |
'stories_api_url' => 'https://product.themewinter.com/auth/public/stories/', |
| 26 |
'banners_api_url' => 'https://product.themewinter.com/auth/public/jhanda', |
| 27 |
'api_url' => 'https://product.themewinter.com/auth', |
| 28 |
// 💡 Dynamic filter string components |
| 29 |
'base_plugins' => ['booktics', 'booktics-free-only'], |
| 30 |
'pro_plugin_slug' => 'booktics', |
| 31 |
'pro_class' => 'booktics_pro', |
| 32 |
]); |
| 33 |
|
| 34 |
$notifyer->boot(); |
| 35 |
} |
| 36 |
} |
| 37 |
|