| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: WP Adminify |
| 4 |
Plugin URI: https://master-addons.com |
| 5 |
Description: Ultimate Admin Dashboard Customizer Panel Theme UI will change your experience of WordPress Dashboard View. |
| 6 |
Version: 1.0.1 |
| 7 |
Author: Jewel Theme |
| 8 |
Text Domain: wp-adminify |
| 9 |
License: GPL-2.0+ |
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 11 |
Author URI: https://jeweltheme.com |
| 12 |
*/ |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
// No Direct Access Sire !!! |
| 17 |
defined('ABSPATH') || exit; |
| 18 |
if ( ! function_exists( 'wp_adminify' ) ) { |
| 19 |
// Create a helper function for easy SDK access. |
| 20 |
function wp_adminify() { |
| 21 |
global $wp_adminify; |
| 22 |
|
| 23 |
if ( ! isset( $wp_adminify ) ) { |
| 24 |
// Activate multisite network integration. |
| 25 |
if ( ! defined( 'WP_FS__PRODUCT_7829_MULTISITE' ) ) { |
| 26 |
define( 'WP_FS__PRODUCT_7829_MULTISITE', true ); |
| 27 |
} |
| 28 |
|
| 29 |
// Include Freemius SDK. |
| 30 |
require_once dirname(__FILE__) . '/inc/freemius/start.php'; |
| 31 |
|
| 32 |
$wp_adminify = fs_dynamic_init( array( |
| 33 |
'id' => '7829', |
| 34 |
'slug' => 'adminify', |
| 35 |
'type' => 'plugin', |
| 36 |
'public_key' => 'pk_a0ea61beae7126eb845f7e58a03e5', |
| 37 |
'is_premium' => false, |
| 38 |
'has_addons' => false, |
| 39 |
'has_paid_plans' => false, |
| 40 |
'menu' => array( |
| 41 |
'slug' => 'wp_adminify', |
| 42 |
'first-path' => 'themes.php?page=wp_adminify', |
| 43 |
'account' => false, |
| 44 |
'contact' => false, |
| 45 |
'support' => false, |
| 46 |
'parent' => array( |
| 47 |
'slug' => 'themes.php', |
| 48 |
), |
| 49 |
), |
| 50 |
) ); |
| 51 |
} |
| 52 |
|
| 53 |
return $wp_adminify; |
| 54 |
} |
| 55 |
|
| 56 |
// Init Freemius. |
| 57 |
wp_adminify(); |
| 58 |
// Signal that SDK was initiated. |
| 59 |
do_action( 'wp_adminify_loaded' ); |
| 60 |
} |
| 61 |
|
| 62 |
|
| 63 |
// Instantiate Master Addons Class |
| 64 |
if ( !class_exists( 'WP_Adminify' ) ) { |
| 65 |
require_once dirname( __FILE__ ) . '/class-wp-adminify.php'; |
| 66 |
} |
| 67 |
|