The function below should help you. It removes the default menu item from the “Apperance” menu item and a new menu item to the Dashboard.
add_action( 'admin_menu', 'fb_customize_admin_menu_hide', 999 );
function fb_customize_admin_menu_hide(){
global $submenu;
// Remove Appearance - Customize Menu
unset( $submenu[ 'themes.php' ][ 6 ] );
// Create URL.
$customize_url = add_query_arg(
'return',
urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ),
'customize.php'
);
// Add sub menu page to the Dashboard menu.
add_dashboard_page(
__( 'Customize' ),
__( 'Customize' ),
'customize',
esc_url( $customize_url ),
''
);
}
You should copy this in a small plugin and activate in your installation.
Related Posts:
- Appearance->Editor not visible
- How to minimize WP dashboard menu programmatically?
- ‘Headers already sent’ Error When Redirecting from add_submenu_page() Callback
- Change menu order of core post-type in UI?
- The Great WordPress Admin Menu Challenge of Jan 2011 (a.k.a. How to Resolve Some Challenges when Modifying the WordPress Admin Menu System?)
- Add an admin page, but don’t show it on the admin menu
- Getting custom admin submenu item to highlight when its active
- Show Custom Taxonomy Inside Custom Menu
- Are there any reasons you can’t use strings for admin menu positions?
- How to remove Customize from admin menu bar after WP 4.3
- Add visit site to your toolbar instead of being in the dropdown
- List table not rendering when $this->items is filled
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- Admin sidebar items overlapping in admin panel
- Add highlighting to new Admin Dashboard Menu Item
- Theme editor menu item refuses to go away
- Admin custom option screen not saved unless user manage_options capability
- WordPress admin menu formatting issue
- How to remove_menu_page added by a plugin that appears to have no referenceable slug
- Admin page menu keeps bugging out
- WordPress setting API strucked
- Admin Menu – Highlight top-level menu when on a sub-menu page (without showing sub-menu)
- Edit Page or Post from Top Admin Bar
- How to determin which admin screen/sub screen I’m currently viewing
- Add post-new.php?post_cat=catslug to admin menu
- Link to Second Level Admin Page
- check current_theme_supports in admin_menu hook
- Hide Theme options and Customize Admin menu
- Admin page repeatable fields
- wp_redirect not working on admin menu page
- menu_order not working with slugs that start with admin.php
- How to add_menu_page include a php file page from theme directory
- How do I demote a menu item in the admin menu?
- Removing posts and comments from WordPress
- Is there a limit to the number of items that can be added using the Appearance Menus Screen?
- Need Help Figuring Out Admin Menu Hover Styling Class
- Dashboard menu missing
- How to access $menu variable in custom .PHP file that loads wp-load.php?
- How To Remove or Hide Appearance->Background from Admin Menu
- Role capability issue
- Adding a submenu to the Tools menu returns tools.php in a popup box
- WordPress admin menu formatting issue
- What action/filter/function determines “current” class in WP Admin Menu
- Creating a dashboard menu page similar to the “Pages” page
- Create dynamic wordrpess blank page
- What’s the correct way of moving a menu page to a submenu
- Is it possible to add 3 level menu item to admin menu?
- Use Drag & Drop Functionality from WordPress Admin Area in the Frontend?
- Adding admin top-level menus
- Disordered sidebar in admin panel of self-hosted blog network [duplicate]
- How to rename Profile link in wp-admin page
- Additional menu item popping in submenus
- toolbar not visible on pages using front-page template
- How to align the top of an admin pointer to the target element?
- WordPress add page under admin submenu and retaining the active status of the parent submenu page in the menu
- WP components no style
- Adding menu item to WordPress admin bar for editors to edit one plugin’s settings
- Remove Elementor Menu From WordPress Admin
- Moving Smush plugin menu position to media submenu and removing it from main menu
- update_option does not work in this scenario – how do I fix?
- How to reference an existing css content-based icon, within my admin menu hook
- Margin problem on management menu?
- How can I restrict a custom WordPress role access to only a specific plugin?
- How can I reorder admin bar items?
- Admin sidebar customization
- Different Admin language
- Broken Customizer page
- add sub_menu to a sub_menu (multiLevel sub_menu) in admin menu in wordpress
- How can i redirect click to new admin page not to edit screen in post table
- Removing menus from users other than the administrator
- Top header to edit page not present in one page
- Hide admin menu items if it is empty
- How to allow suscriber to access specific pages in dashboard?
- Unable to add custom page to WordPress admin panel
- How to add a notification next to custom admin menu?
- admin menu: use default “general” page for theme settings using add_menu_page and add_submenu_page
- no themes or editor under appearance menu
- How to remove an item from menu bar’s +New menu based on User role
- how to remove wp admin menu created by plugin
- Removing Admin Bar Node Based on Role
- How to check an admin submenu already exists?
- Renaming post to something else, breaks dashboard if edit_posts is false
- Headers already sent error when creating multiple admin menu’s
- Removing admin menu items with white spaces
- How can I place a page link to the sidebar admin bar?
- Admin tabs for custom plugin
- Restricted access for other user roles
- Tab order of post admin page
- How Do I create multiple Top Level Admin Menu Pages To submit data to the options table?
- How can I modify text in admin bar?
- Add internal page to admin menu
- Settings API – Checkboxes validation in a menu with multiple subpages
- Remove the theme info from main dashboard screen- not appearance
- How to add admin bar only page?
- Turn on again old expandable menu
- Fatal error when using ‘#’ character as an admin menu link title
- Admin menu links just refresh the page
- How to unset adminmenu completely?
- Add items to the dark menu in WordPress
- Remove menu pages only for non admin