-
Notifications
You must be signed in to change notification settings - Fork 3
/
wpfavs.php
executable file
·39 lines (35 loc) · 1.17 KB
/
wpfavs.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
<?php
/**
* Wp Favs Plugin
*
* @package Wpfavs
* @author Damian Logghe <[email protected]>
* @license GPL-2.0+
* @link http://wp.timersys.com
* @copyright 2014 Timersys
*
* @wordpress-plugin
* Plugin Name: Wp Favs
* Plugin URI: http://wp.timersys.com
* Description: Create and import your favorites plugins lists from wpfavs.com
* Version: 1.2
* Author: Damian Logghe
* Author URI: http://wp.timersys.com
* Text Domain: wpfavs
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
* GitHub Plugin URI: https://github.com/timersys/wpfavs
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define('WPFAVS_VERSION', '1.2');
/*----------------------------------------------------------------------------*
* Dashboard and Administrative Functionality
*----------------------------------------------------------------------------*/
if ( is_admin() ) {
require_once( plugin_dir_path( __FILE__ ) . 'admin/class-wpfavs-admin.php' );
add_action( 'plugins_loaded', array( 'Wpfavs_Admin', 'get_instance' ) );
}