| 1 |
<?php |
| 2 |
/** |
| 3 |
* Admin Pages |
| 4 |
* |
| 5 |
* @package |
| 6 |
* @subpackage |
| 7 |
* @copyright Copyright (c) 2017, Dmytro Lobov |
| 8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 |
* @since 2.2 |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) exit; |
| 13 |
|
| 14 |
$name = $this->name; |
| 15 |
$pluginname = $this->pluginname; |
| 16 |
$version = $this->version; |
| 17 |
global $wow_company_plugin; |
| 18 |
$wow_company_plugin = true; |
| 19 |
$license = get_option( 'wow_license_key_'.self::PREF ); |
| 20 |
$status = get_option( 'wow_license_status_'.self::PREF ); |
| 21 |
include_once( 'partials/main.php' ); |
| 22 |
|
| 23 |
// plugin sctyles |
| 24 |
wp_enqueue_style( $this->pluginname.'-style', $this->pluginurl . 'admin/css/style.css',false, $this->version); |
| 25 |
|
| 26 |
// plugin scripts |
| 27 |
wp_enqueue_script($this->pluginname.'-script', $this->pluginurl . 'admin/js/script.js', array('jquery'), $this->version); |
| 28 |
wp_enqueue_media (); |
| 29 |
|
| 30 |
// icon style |
| 31 |
wp_enqueue_style( $this->pluginname.'-icon', $this->pluginurl . 'asset/fontawesome/fontawesome.min.css', array(), '4.7.0' ); |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|