-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwp-cli-admin-theme.php
More file actions
43 lines (37 loc) · 1.39 KB
/
wp-cli-admin-theme.php
File metadata and controls
43 lines (37 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* Plugin Name: WP CLI Admin Theme
* Plugin URI: https://msrbuilds.com
* Description: Terminal-style CLI aesthetic overhaul for the WordPress admin dashboard with multiple color schemes.
* Version: 1.1.5
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: Mian Shahzad Raza
* Author URI: https://msrbuilds.com
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wp-cli-admin-theme
* Domain Path: /languages
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'WCATH_VERSION', '1.1.5' );
define( 'WCATH_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'WCATH_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'WCATH_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
require_once WCATH_PLUGIN_DIR . 'includes/class-wp-cli-admin-theme-activator.php';
require_once WCATH_PLUGIN_DIR . 'includes/class-wp-cli-admin-theme-deactivator.php';
register_activation_hook( __FILE__, array( 'WP_CLI_Admin_Theme_Activator', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'WP_CLI_Admin_Theme_Deactivator', 'deactivate' ) );
require_once WCATH_PLUGIN_DIR . 'includes/class-wp-cli-admin-theme.php';
/**
* Begin plugin execution.
*
* @since 1.0.0
*/
function wcath_run() {
$plugin = new WP_CLI_Admin_Theme();
$plugin->run();
}
wcath_run();