19 lines
563 B
PHP
19 lines
563 B
PHP
|
|
<?php
|
||
|
|
/*
|
||
|
|
Plugin Name: Admin Menu Editor
|
||
|
|
Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
|
||
|
|
Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
|
||
|
|
Version: 1.1.5
|
||
|
|
Author: Janis Elsts
|
||
|
|
Author URI: http://w-shadow.com/blog/
|
||
|
|
*/
|
||
|
|
|
||
|
|
//Are we running in the Dashboard?
|
||
|
|
if ( is_admin() ) {
|
||
|
|
|
||
|
|
//Load the plugin
|
||
|
|
require 'includes/menu-editor-core.php';
|
||
|
|
$wp_menu_editor = new WPMenuEditor(__FILE__, 'ws_menu_editor');
|
||
|
|
|
||
|
|
}//is_admin()
|
||
|
|
?>
|