forked from jazzsequence/WordPress-Admin-Help
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathah-o2.php
41 lines (37 loc) · 1.47 KB
/
ah-o2.php
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
<?php
/**
*
* @package AH_O2
* @author Chris Reynolds <[email protected]>
* @license GPLv3
* @link http://make.wordpress.org/docs/tag/admin-help/
* @copyright 2013 Admin Help Team
*
* @wordpress-plugin
* Plugin Name: AH-O₂
* Plugin URI: http://wordpress.org
* Description: Breathing new life into help in the WordPress admin. A feature plugin intended for WordPress 4.0
* Version: 0.3.0
* Author: The AH-O₂ Team
* Author URI: http://make.wordpress.org/docs/tag/admin-help/
* Text Domain: ah-o2
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
* GitHub Plugin URI: https://github.com/jazzsequence/WordPress-Admin-Help
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once( plugin_dir_path( __FILE__ ) . 'class-screen-admin.php' );
require_once( plugin_dir_path( __FILE__ ) . 'class-ah-o2.php' );
require_once( plugin_dir_path( __FILE__ ) . 'class-ah-o2-admin.php' );
/*
* Register hooks that are fired when the plugin is activated or deactivated.
* When the plugin is deleted, the uninstall.php file is loaded.
*/
register_activation_hook( __FILE__, array( 'AH_O2', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'AH_O2', 'deactivate' ) );
add_action( 'plugins_loaded', array( 'AH_O2', 'get_instance' ) );
add_action( 'plugins_loaded', array( 'AH_O2_Admin', 'get_instance' ) );