You’d want to add this code:
add_action( 'admin_menu', 'remove_admin_menus', 999 );
function remove_admin_menus() {
remove_submenu_page( 'users.php', 'new-user-approve-admin' );
}
Related Posts:
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- wp_nav_menu remove class and id from li
- Add separator to admin submenu
- On which hook should I be calling register_nav_menu(s)?
- Menu is not visible in appearance
- One site, 2 distinct sections: two different top nav menus?
- Make Theme automatically choose default nav menu
- How can I disable parent menu item links?
- Organizing by super-categories (or nested categories)?
- Nav menu items disappearing (but not immediately)
- wp_nav_menu custom walker – child items
- wp_nav_menu doesn’t generate parent/ancestor classes
- Add static item to wp_nav_menu
- How to get wordpress nav menu outside of wordpress system?
- Add nav menu CSS class to body
- Change HTML structure for custom menu in sidebar
- Using Shortcodes in WP-Menus in WP 3.1 (via nav_menu_objects)?
- Custom Admin Menu Order
- Current menu item
- remove everything from wp_nav_menu
- How to add wechat (weixin) link to navigation menu?
- Admin only menu/page
- Best way to customise wp_nav_menu [duplicate]
- How to add custom classes to more than one separate menu’s a link in wordpress?
- How do I separate link levels in a custom menu walker?
- SlideDeck 2, make back-end visible for admins only
- pull non-wp site into content area of wordpress -or- pull wp header into non wp site?
- Help with walker for nav
- Create custom page and add it in nav menu by code
- Using my WordPress menu on another platform
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- Using _s theme, menu changes do not affect header menu
- Limit User Iinterface for Admin?
- Make pages visible to only logged in members
- Get custom classes in WordPress Navigation Menu
- Replace the slug of parent pages with # [closed]
- How to undo the last changes to a custom menu?
- Filter to hook into menu items and add a custom attribute
- I can’t add more pages to menu – menu delete pages
- Responsive menu on genesis theme [closed]
- How to open a lightbox form from a navigation menu item
- How to create this kind of sub-menu in new line?
- Hide custom menu when when no menu selected
- Add a data attribute to list item element in menu
- how to display wordpress navbar with top menu outside wordpress system
- Creating and populating custom nav menu (menu-item-position not working)
- custom rearranged menu with excerpt for selected children in sidebar.php
- wp_nav_menu in 3.7 add name class nav navbar-nav
- Menu – custom structure
- custom walker to add iconfont to wp_nav_menu
- After WordPress 4.8 upgrade, wp_nav_menu() string search / replace not working
- Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow?
- Custom search filter causes menu and query_posts problems
- How to add menu to Dashboard that can be viewed by all users
- List children of second level sub page
- Show top-level parent with submenu menu walker
- Add section to custom menu panel
- Adding menu items dynamically using wp_nav_menu_objects
- Highlight the “Home” / “Blog” button while on main page
- how to add Custom menu item like User name in Header Menu only
- Menus – Open items in new tab/window?
- Highlight another nav item
- Custom Menu url is Empty
- Menus don’t appear in admin area / WordPress Multisite
- Programmatically add existing pages and subpages to Appearance Menu
- Appearance Menus Screen – menu item drop down menu not functioning
- Make a navigation menu in the same post [duplicate]
- WP admin style not refreshing
- Tageting a specific menu link with nav_menu_css_class
- login logout menu changes in wordpress [closed]
- Style wp_link_pages as a select drop down list
- How to add active state to the navigation links?
- Custom Menu Anchor Links Not Working
- Question about Menus on WordPress
- Bootstrap menu – make menu entries with submenu not clickable
- Duplicate menu items when auto generating menu from product categories
- Using menus to link to sections on the home page
- How to change the navigation menu
- Menu links URL with PHP GET method
- Adding widget to sidebar which contains current page’s submenu
- WordPress theme editor not showing
- How to switch menu location in this header.php?
- Why does WordPress convert absolute URLs to relative URLs for menu items?
- Extending Walker_Nav_Menu in wp_nav_menu List of Empty Items
- Jump to section on another page from menu item
- Users are required to login to my site. How define user.member boolean, its permissions, and conditionally display/handle behavior based on it
- How to Use Default Auto-Generated Menu?
- Add items to a menu
- Use menu structure for permalinks
- Add tooltips with image in WordPress Menu?
- How to make a drop down menu with categories
- How to create an user defined page?
- Add class to current category menu item
- WordPress wp get nav menu items does not deliver external link
- How to load css file in my menu in wordpress
- Site pages show the page title under navigation bar
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- Wrapping my ‘s with
- Sub menu for a (single) page
- change breakpoint widths for divi theme tablet view