PluginProbe
WP Coder – Insert & Manage Code Snippets / 1.1
WP Coder – Insert & Manage Code Snippets v1.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / admin / index.php

index.php in WP Coder – Insert & Manage Code Snippets 1.1, at admin/index.php

37 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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