| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package Plugin_Groups |
| 4 |
* @author David Cramer <david@digilab.co.za> |
| 5 |
* @license GPL-2.0+ |
| 6 |
* @link https://cramer.co.za |
| 7 |
* @copyright 2018 David Cramer <david@digilab.co.za> |
| 8 |
* |
| 9 |
* @wordpress-plugin |
| 10 |
* Plugin Name: Plugin Groups |
| 11 |
* Plugin URI: https://cramer.co.za |
| 12 |
* Description: Organize plugins in the Plugins Admin Page by creating groups and filter types. |
| 13 |
* Version: 1.2.1 |
| 14 |
* Author: David Cramer <david@digilab.co.za> |
| 15 |
* Author URI: https://cramer.co.za/ |
| 16 |
* Text Domain: plugin-groups |
| 17 |
* License: GPL-2.0+ |
| 18 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 19 |
* Domain Path: /languages |
| 20 |
* Network: true |
| 21 |
*/ |
| 22 |
|
| 23 |
// If this file is called directly, abort. |
| 24 |
if ( ! defined( 'WPINC' ) ) { |
| 25 |
die; |
| 26 |
} |
| 27 |
|
| 28 |
define('PLORG_PATH', plugin_dir_path( __FILE__ ) ); |
| 29 |
define('PLORG_URL', plugin_dir_url( __FILE__ ) ); |
| 30 |
define('PLORG_VER', '1.2.1' ); |
| 31 |
|
| 32 |
// load internals |
| 33 |
require_once( PLORG_PATH . 'classes/class-plugin-groups.php' ); |
| 34 |
require_once( PLORG_PATH . 'classes/class-options.php' ); |
| 35 |
require_once( PLORG_PATH . 'classes/class-settings.php' ); |
| 36 |
|
| 37 |
// Load instance |
| 38 |
add_action( 'plugins_loaded', array( 'Plugin_Groups', 'get_instance' ) ); |
| 39 |
|