| @@ -1,38 +1,38 @@ | ||
| 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 | - array( | |
| 20 | - 'plugin_slug' => 'booktics', | |
| 21 | - 'plugin_name' => 'booktics', | |
| 22 | - 'plugin_url' => 'https://arraytics.com/booktics', | |
| 23 | - 'support_url' => 'https://arraytics.com/support', | |
| 24 | - 'review_url' => 'https://wordpress.org/support/plugin/booktics/reviews/#new-post', | |
| 25 | - 'allowed_screens' => 'toplevel_page_booktics', | |
| 26 | - 'stories_api_url' => 'https://product.themewinter.com/auth/public/stories/', | |
| 27 | - 'banners_api_url' => 'https://product.themewinter.com/auth/public/jhanda', | |
| 28 | - 'api_url' => 'https://product.themewinter.com/auth', | |
| 29 | - // 💡 Dynamic filter string components | |
| 30 | - 'base_plugins' => array( 'booktics', 'booktics-free-only' ), | |
| 31 | - 'pro_plugin_slug' => 'booktics', | |
| 32 | - 'pro_class' => 'booktics_pro', | |
| 33 | - ) | |
| 34 | - ); | |
| 35 | - | |
| 36 | - $notifyer->boot(); | |
| 37 | - } | |
| 38 | -} | |
| 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 | + array( | |
| 20 | + 'plugin_slug' => 'booktics', | |
| 21 | + 'plugin_name' => 'booktics', | |
| 22 | + 'plugin_url' => 'https://arraytics.com/booktics', | |
| 23 | + 'support_url' => 'https://arraytics.com/support', | |
| 24 | + 'review_url' => 'https://wordpress.org/support/plugin/booktics/reviews/#new-post', | |
| 25 | + 'allowed_screens' => 'toplevel_page_booktics', | |
| 26 | + 'stories_api_url' => 'https://banner.arraytics.com/public/stories/', | |
| 27 | + 'banners_api_url' => 'https://banner.arraytics.com/public/jhanda', | |
| 28 | + 'api_url' => 'https://banner.arraytics.com', | |
| 29 | + // 💡 Dynamic filter string components | |
| 30 | + 'base_plugins' => array( 'booktics', 'booktics-free-only' ), | |
| 31 | + 'pro_plugin_slug' => 'booktics-pro', | |
| 32 | + 'pro_class' => 'booktics_pro', | |
| 33 | + ) | |
| 34 | + ); | |
| 35 | + | |
| 36 | + $notifyer->boot(); | |
| 37 | + } | |
| 38 | +} | |