Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to hide submenu admin wordpress

add_action("admin_menu", function(){
    remove_submenu_page( 'themes.php', 'themes.php' );
    remove_submenu_page( 'themes.php', 'nav-menus.php' );
    remove_submenu_page( 'themes.php', 'theme-editor.php' );
});
 
PREVIOUS NEXT
Tagged: #hide #submenu #admin #wordpress
ADD COMMENT
Topic
Name
8+4 =