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?
- Changing Admin Menu Labels
- WordPress admin menu formatting issue
- The Great WordPress Admin Menu Challenge of Jan 2011 (a.k.a. How to Resolve Some Challenges when Modifying the WordPress Admin Menu System?)
- Remove duplicate main – submenu in admin?
- How to fix the admin menu margin-top bug in WordPress 5.5?
- Plugin View Details Link
- Add an admin page, but don’t show it on the admin menu
- Getting custom admin submenu item to highlight when its active
- Add update notification bubble to admin menu item?
- Show Custom Taxonomy Inside Custom Menu
- Add “external” link to admin menu in the backend
- Are there any reasons you can’t use strings for admin menu positions?
- remove_menu_page doesn’t work on custom plugin menus
- 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
- Order Admin sub-menu items?
- Admin sidebar items overlapping in admin panel
- How Can I remove or hide the export page in WordPress menu?
- How to check if an admin (sub)menu already exists?
- How to hide menu on WordPress admin
- Make sub menu items a main link in the admin menu using fuctions.php
- custom admin menu with custom filed
- Add highlighting to new Admin Dashboard Menu Item
- Theme editor menu item refuses to go away
- Remove menus and submenus
- Highlighting a Menu Item by Post Name
- How to remove the Plugins Editor from the admin menu
- add logout button on admin side menu
- 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)
- Show admin menu and toolbar in admin post page
- Edit Page or Post from Top Admin Bar
- How to change menu page capability
- WordPress add_options_page() function not considering role
- 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
- How do I insert the smaller variant of an image?
- Why add_menu_page adds admin.php and how to remove it?
- Is there any way to add absolute path for add_menu_page function?
- Admin menu bar dropdown opens when I click on a form element (Chrome) [closed]
- Hide Theme options and Customize Admin menu
- Hide widgets/plugins from dashboard
- how can i add custom menu in admin panel?
- Admin page repeatable fields
- wp_redirect not working on admin menu page
- Change URL of plugin admin menu
- 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 it possible to pass variables from add_user_page?
- place a direct link to custom-stylesheet, under appearance menu in wp-admin
- 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
- How to Move My Page into WordPress dashboard main menu
- Wrong current class on admin menu with add_submenu_page()
- 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?
- Develop Admin Panel Page
- 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
- Admin top level menu, pointing to an external url
- Visiting a console submenu page does not expand its parent menu item
- 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
- Backend Checkboxes working – but not visual?
- Disable new Site Health screen safely?
- 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
- add submenu page doesn’t display
- Moving the WordPress dashboard avatar over the admin menu
- WordPress plugins add parent menu option in admin main right
- update_option does not work in this scenario – how do I fix?