PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 3.1.9
Adminify – White Label, Admin Menu Editor, Login Customizer v3.1.9
4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 4.1.17 All 164 releases
← All changes | adminify.php +66 -67 4.1.173.1.9 View file →
@@ -1,15 +1,15 @@
1 1 <?php
2 2
3 3 /**
4 - * Plugin Name: Adminify
5 - * Description: Customize the WordPress admin area with white-label branding, a drag-and-drop menu editor, login customizer, media folders, and security tools.
4 + * Plugin Name: WP Adminify
5 + * Description: Supercharge your WordPress Adminify with <a href="https://wpadminify.com">WP Adminify</a> plugin. It has Completely WordPress White Label, Professional & Clean UI, Analytics, Charts, Menu UI, Light & Dark Mode, Menu Editor, Google Pagespeed Insights, Multisite Support and many more to get amazed.
6 6 * Plugin URI: https://wpadminify.com
7 - * Version: 4.1.17
8 7 * Author: Jewel Theme
9 - * Author URI: https://jeweltheme.com
10 - * License: GPLv3 or later
11 - * License URI: https://www.gnu.org/licenses/gpl-3.0.html
8 + * Version: 3.1.9
9 + * Author URI: https://wpadminify.com
10 + * License: GPL-2.0+
11 + * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
12 12 * Text Domain: adminify
13 13 * Domain Path: /languages
14 14 *
15 15 */
@@ -23,62 +23,9 @@
23 23 'Author' => 'Author',
24 24 'Description' => 'Description',
25 25 'Plugin URI' => 'Plugin URI',
26 26 ), false );
27 -if ( function_exists( 'jltwp_adminify' ) ) {
28 - jltwp_adminify()->set_basename( false, __FILE__ );
29 -} elseif ( !function_exists( 'jltwp_adminify' ) ) {
30 - // Create a helper function for easy SDK access.
31 - function jltwp_adminify() {
32 - global $jltwp_adminify;
33 - if ( !isset( $jltwp_adminify ) ) {
34 - // Activate multisite network integration.
35 - if ( !defined( 'WP_FS__PRODUCT_7829_MULTISITE' ) ) {
36 - define( 'WP_FS__PRODUCT_7829_MULTISITE', true );
37 - }
38 - // Include Freemius SDK.
39 - require_once __DIR__ . '/Libs/freemius/start.php';
40 - $jltadminify_menu = array(
41 - 'slug' => 'wp-adminify-settings',
42 - 'first-path' => 'admin.php?page=wp-adminify-settings',
43 - 'account' => false,
44 - 'network' => false,
45 - 'support' => false,
46 - 'contact' => false,
47 - 'affiliation' => false,
48 - 'pricing' => true,
49 - 'addons' => false,
50 - );
51 - // WP Adminify
52 - $jltwp_adminify = fs_dynamic_init( array(
53 - 'id' => '7829',
54 - 'slug' => 'adminify',
55 - 'premium_slug' => 'adminify-pro',
56 - 'type' => 'plugin',
57 - 'public_key' => 'pk_a0ea61beae7126eb845f7e58a03e5',
58 - 'premium_suffix' => 'Premium',
59 - 'affiliation' => false,
60 - 'has_addons' => false,
61 - 'has_paid_plans' => true,
62 - 'is_org_compliant' => true,
63 - 'parallel_activation' => array(
64 - 'enabled' => true,
65 - 'premium_version_basename' => 'adminify-pro/adminify.php',
66 - ),
67 - 'menu' => ( function_exists( 'get_menu_params__premium_only' ) ? get_menu_params__premium_only() : $jltadminify_menu ),
68 - 'is_live' => true,
69 - 'is_premium' => false,
70 - ) );
71 - }
72 - return $jltwp_adminify;
73 - }
74 -
75 - // Init Freemius.
76 - jltwp_adminify();
77 - jltwp_adminify()->add_filter( 'deactivate_on_activation', '__return_false' );
78 - // Signal that SDK was initiated.
79 - do_action( 'jltwp_adminify_loaded' );
80 -}
27 +// Define Constants
81 28 if ( !defined( 'WP_ADMINIFY' ) ) {
82 29 define( 'WP_ADMINIFY', $jltwp_adminify_plugin_data['Plugin Name'] );
83 30 }
84 31 if ( !defined( 'WP_ADMINIFY_VER' ) ) {
@@ -119,19 +66,71 @@
119 66 }
120 67 if ( !defined( 'WP_ADMINIFY_URI' ) ) {
121 68 define( 'WP_ADMINIFY_URI', $jltwp_adminify_plugin_data['Plugin URI'] );
122 69 }
70 +
71 +if ( function_exists( 'jltwp_adminify' ) ) {
72 + jltwp_adminify()->set_basename( false, __FILE__ );
73 +} elseif ( !function_exists( 'jltwp_adminify' ) ) {
74 + // Create a helper function for easy SDK access.
75 + function jltwp_adminify()
76 + {
77 + global $jltwp_adminify ;
78 +
79 + if ( !isset( $jltwp_adminify ) ) {
80 + // Activate multisite network integration.
81 + if ( !defined( 'WP_FS__PRODUCT_7829_MULTISITE' ) ) {
82 + define( 'WP_FS__PRODUCT_7829_MULTISITE', true );
83 + }
84 + // Include Freemius SDK.
85 + require_once __DIR__ . '/Libs/freemius/start.php';
86 + $jltwp_adminify = fs_dynamic_init( array(
87 + 'id' => '7829',
88 + 'slug' => 'adminify',
89 + 'premium_slug' => 'adminify-pro',
90 + 'type' => 'plugin',
91 + 'public_key' => 'pk_a0ea61beae7126eb845f7e58a03e5',
92 + 'premium_suffix' => 'Pro',
93 + 'has_affiliation' => 'all',
94 + 'has_addons' => false,
95 + 'has_paid_plans' => true,
96 + 'menu' => array(
97 + 'slug' => 'wp-adminify-settings',
98 + 'first-path' => 'admin.php?page=wp-adminify-settings',
99 + 'account' => true,
100 + 'support' => true,
101 + 'network' => true,
102 + ),
103 + 'is_live' => true,
104 + 'is_premium' => false,
105 + ) );
106 + }
107 +
108 + return $jltwp_adminify;
109 + }
110 +
111 + // Init Freemius.
112 + jltwp_adminify();
113 + // Signal that SDK was initiated.
114 + do_action( 'jltwp_adminify_loaded' );
115 +}
116 +
117 +
123 118 if ( !class_exists( '\\WPAdminify\\WP_Adminify' ) ) {
124 - // Autoload Files
119 + // Autoload
125 120 require_once __DIR__ . '/vendor/autoload.php';
126 121 // Instantiate WP Adminify Class
127 122 require_once __DIR__ . '/class-wp-adminify.php';
128 123 }
124 +
129 125 // Activation and Deactivation hooks
126 +
130 127 if ( class_exists( '\\WPAdminify\\WP_Adminify' ) ) {
131 - register_activation_hook( WP_ADMINIFY_FILE, array('\\WPAdminify\\WP_Adminify', 'jltwp_adminify_activation_hook') );
132 - register_deactivation_hook( WP_ADMINIFY_FILE, array('\\WPAdminify\\WP_Adminify', 'jltwp_adminify_deactivation_hook') );
128 + register_activation_hook( WP_ADMINIFY_FILE, array( '\\WPAdminify\\WP_Adminify', 'jltwp_adminify_activation_hook' ) );
129 + register_deactivation_hook( WP_ADMINIFY_FILE, array( '\\WPAdminify\\WP_Adminify', 'jltwp_adminify_deactivation_hook' ) );
133 130 }
134 -if ( class_exists( '\\JLTAdminify\\Modules\\ActivityLogs\\Inc\\ActivityLogs\\Inc\\DB_Table' ) ) {
135 - register_activation_hook( WP_ADMINIFY_FILE, ['\\JLTAdminify\\Modules\\ActivityLogs\\Inc\\ActivityLogs\\Inc\\DB_Table', 'activation_hook'] );
136 - register_uninstall_hook( WP_ADMINIFY_FILE, ['\\JLTAdminify\\Modules\\ActivityLogs\\Inc\\ActivityLogs\\Inc\\DB_Table', 'deactivation_hook'] );
137 -}
131 +
132 +
133 +if ( class_exists( '\\WPAdminify\\Inc\\Modules\\ActivityLogs\\Inc\\DB_Table' ) ) {
134 + register_activation_hook( WP_ADMINIFY_FILE, array( '\\WPAdminify\\Inc\\Modules\\ActivityLogs\\Inc\\DB_Table', 'activation_hook' ) );
135 + register_uninstall_hook( WP_ADMINIFY_FILE, array( '\\WPAdminify\\Inc\\Modules\\ActivityLogs\\Inc\\DB_Table', 'deactivation_hook' ) );
136 +}