-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.php
More file actions
32 lines (27 loc) · 974 Bytes
/
plugin.php
File metadata and controls
32 lines (27 loc) · 974 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
<?php
/*
Plugin Name: FourTwo - Multisite User Manager
Plugin URI: https://fourtwoweb.com/wordpress/plugins/multisite-user-manager/
Description: A WordPress Multisite plugin that allows you easily add a user to all blogs in your multisite.
Version: 0.0.1
Author: Christopher Spires
Author URI: https://fourtwoweb.com
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: fourtwo
Domain Path: /languages
*/
define('FOURTWO_MUM_VERSION', '0.0.1');
define('FOURTWO_MUM_TEXTDOMAIN', 'fourtwo');
define('FOURTWO_MUM_DIR', plugin_dir_path(__FILE__));
define('FOURTWO_MUM_URL', plugin_dir_url(__FILE__));
// Include all our class files
foreach (glob(FOURTWO_MUM_DIR . 'classes/*.php') as $file) {
include_once $file;
}
// Load Plugin Assets
$fourtwo_mum_assets = new FourTwo_MUM_Assets();
// Add Menu Page
$fourtwo_mum_menu_page = new FourTwo_MUM_Admin_Page();
// Instantiate AJAX Calls
$fourtwo_mum_ajax = new FourTwo_MUM_Ajax();