<?php
namespace Booktics;

use Arraytics\PluginNotice\PluginNotice;

/**
 * Plugin Notice Class
 */
class Plugin_Notice {

    /**
     * Initiate plugin notice
     *
     * @return  void
     */
    public static function run() {

        $notifyer = new PluginNotice(
            array(
				'plugin_slug'      => 'booktics',
				'plugin_name'      => 'booktics',
				'plugin_url'       => 'https://arraytics.com/booktics',
				'support_url'      => 'https://arraytics.com/support',
				'review_url'       => 'https://wordpress.org/support/plugin/booktics/reviews/#new-post',
				'allowed_screens'  => 'toplevel_page_booktics',
				'stories_api_url'  => 'https://banner.themefunction.com/public/stories/',
				'banners_api_url'  => 'https://banner.themefunction.com/public/jhanda',
				'api_url'          => 'https://banner.themefunction.com',
				// 💡 Dynamic filter string components
				'base_plugins'     => array( 'booktics', 'booktics-free-only' ),
				'pro_plugin_slug'  => 'booktics-pro',
				'pro_class'        => 'booktics_pro',
            )
        );

        $notifyer->boot();
    }
}
