Since there is no filter to remove this option, your best best to to stick to using CSS by putting the following in your child theme’s functions.php
:
add_action( 'admin_head', 'wpse_225635_menu_css' );
function wpse_225635_menu_css() {
global $pagenow;
if ( $pagenow == 'nav-menus.php' ) {
?>
<style type="text/css">
.auto-add-pages {
display: none;
}
</style>
<?php
}
}
Related Posts:
- Adding an Arbitrary Link to the Admin Menu?
- How do I add nested categories to drop-down menu in twenty-eleven?
- How to add ul class on nav
- Show menu item description with line breaks
- Which settings/options are saved on a theme-basis and how does this affect theme-switching?
- WordPress Add javascript:void(0); to menu link item?
- Does WordPress create mobile menus automatically?
- Programmatically create and place a nav menu in a theme location?
- Create search form in menu as in Twenty Fourteen theme
- Why is my menu not ordered properly?
- My menu bar dissapeared with autooptimize [closed]
- Cant add menu items with my theme
- How to override the theme home page?
- How to remove menu installed in wp-admin by a theme? [closed]
- Change submenu markup
- Change hyphen/dash for vertical line in menu [closed]
- How should I build a custom menu walker for this setup?
- How to re-arrange the MENU of “Allure Real Estate Theme for Placester” wordpress theme?
- How to override menu markup?
- Want to add different text after each menu item
- Automatically Display Sub Menu
- Menu separator appearing on next line
- Full screen nav menu block with avada theme
- How to hide the menu item created by the theme in WordPress admin panel?
- Creating custom menu with custom themes
- Removing Submenu from Menu
- Efficient wp mobile menu
- How to show submenu of any page in main menu
- adding pages in underscores.me theme
- Structuring Nav Menu and Background Custom page (Help)
- How to work with a custom theme that someone else created before me? (details below)
- Does the Default theme of WordPress like 2016, 2017 and 2019 uses Walker_Nav_Menu Class
- WordPress Menu Navigation links not working
- Menu doesn’t open on mobile
- I can´t make the menu unclickable in an easy way
- WordPress theme editor not showing
- Making my main menu a hamburger menu on all platforms
- menu change after theme change
- menu mobile show up even i in desktop mode in Newspaper Theme
- All custom links suddenly lack href attributes
- Hide menu theme location for certain capabilities?
- Making wordpress menu horizontal [closed]
- Add a Submenu from Another Submenu in a Custom Theme
- wp_nav_menu in 3.7 add name class nav navbar-nav
- how to keep theme background image, menu or site header image while moving site in sub directory?
- Make title bar collapse when scrolling
- How to add or remove borders in navigation menu?
- Customizing Responsive Themes Menu [closed]
- Some informations about the use of statics pages in WordPress
- How can I added the post’s Categories to the site’s top menu (like a page)?
- The menu jumps a few pixels after the website loads
- Add settings to menu items in the Customizer
- WordPress Shortcode in Menu Item Title
- Menu items (all menus) being deleted randomly on their own [duplicate]
- How to apply a class to the second word in menu list item?
- How to implement separate sub-menus?
- Number of items in a menu
- How do I prevent the text overflow in menu?
- No link on empty page in wp_list_pages
- Set blog archive to active when browsing archive
- Page-Linking Structure
- Limit top level menu items on wp_nav_menu
- How do you center the main menu in CSS? [closed]
- Main Menu and Sub Menu Items for Footer
- How to generate a list of child pages, and use some of their custom fields?
- add span to top level links of a wordpress menu called “main”
- How to have two menus using Bootstrap nav walker?
- Unable to center menu and header image twenty twelve [closed]
- Debugging – trying to add search box to menus
- How do I add (css) class to a custom link to make it current_page_item
- target nav class in wp_nav_menu
- WordPress default menu in database
- If menu has submenu, add parent as first child
- Create subpages in default WordPress menu
- replace existing menu programtically
- Submenu page buttons are blank
- Theme only supports one menu? [closed]
- Problem adding ‘has-children’ class to wp_nav_menu
- set certain item in nav walker to active when on archive pages or singles
- wp_nav_menu() | Outputting my own custom code using built in features
- Creating menu always gives error A name is required for this term
- Expected snippet value not showing
- Wp Nav Menu div containers
- Add posts from a category to menu with all posts in it as sub menu
- Possible to append class to nav menu added to widget area?
- Page dependent sub-menu?
- Error: Declaration of MyClass::start_lvl() should be compatible with that of Walker_Nav_Menu::start_lvl()
- Where is the source code in the console coming from?
- display cart information within li of cart menu item
- Editing existing pre-created menus in PHP
- change link of menu particular tab
- Next page link via the custom menu
- Menu not always using correct link
- Automatically add new posts to a specific menu name
- can anyone help me converting my static menu to wp_nav_menu I’am trying to add static menu item to WordPress Menu
- register_nav_menus and wp_nav_menu issue, not displaying independent menus
- Convert a custom bootsrap based menu to wordpress nav walker
- How do I get the menu items based on name or ID?
- Menu problem : when add wordpress element in menu it convert into empty custom link
- Problems with the navigation menu