-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlil-notices.php
More file actions
33 lines (29 loc) · 839 Bytes
/
lil-notices.php
File metadata and controls
33 lines (29 loc) · 839 Bytes
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
<?php
/**
* Plugin Name: Lil Notices
* Plugin URI: http://mlteal.com/
* Description: Giant admin notices are annoying. Make them lil'.
* Author: mlteal
* Version: 1.1.0
* License: GPLv2
* Text Domain: ln_domain
* Contributors: mlteal, andreaself
*
* GitHub Plugin URI: https://github.com/mlteal/lil-notices
* GitHub Branch: master
*
* @package ln_domain
* @category plugin
*/
define( 'LIL_NOTICES__VERSION', '1.1.0' );
require_once( 'class-lil-notices.php' );
/**
* Build and initialize the plugin
*/
if ( class_exists( 'Lil_Notices' ) ) {
// Installation and un-installation hooks
register_activation_hook( __FILE__, array( 'Lil_Notices', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Lil_Notices', 'deactivate' ) );
// initialize
add_action( 'plugins_loaded', array( 'Lil_Notices', 'init' ) );
}