This repository was archived by the owner on Feb 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathadmin-menu-manager.php
More file actions
49 lines (44 loc) · 1.57 KB
/
admin-menu-manager.php
File metadata and controls
49 lines (44 loc) · 1.57 KB
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
42
43
44
45
46
47
48
49
<?php
/**
* Plugin Name: Admin Menu Manager
* Plugin URI: https://required.com/en/services/wordpress-plugins/admin-menu-manager/
* Description: Manage the WordPress admin menu using a simple drag & drop interface.
* Version: 2.0.0-alpha
* Author: required
* Author URI: https://required.com
* License: GPLv2+
* Text Domain: admin-menu-manager
* Domain Path: /languages
*
* @package Admin_Menu_Manager
*/
/**
* Copyright (c) 2015 required (email : support@required.ch)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2 or, at
* your discretion, any later version, as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
if ( file_exists( dirname( __FILE__ ) . '/vendor/autoload.php' ) ) {
require dirname( __FILE__ ) . '/vendor/autoload.php';
}
$requirements_check = new WP_Requirements_Check( array(
'title' => 'Admin Menu Manager',
'php' => '5.4',
'wp' => '4.4',
'file' => __FILE__,
) );
if ( $requirements_check->passes() ) {
include( dirname( __FILE__ ) . '/init.php' );
}
unset( $requirements_check );