This is a core function in wp-admin/includes/nav-menu.php. You can either hide the items with CSS or use the myEASYhider plugin here. IIRC, in order to actually override core functions, it must be done from a plugin rather than functions.php, so either way you’ll be using a plugin that could potentially be turned off by the end user. Perhaps it would be better (if not easier) to train the client on what these functions do and when they will or won’t be using them?
Related Posts:
- What are the standard admin CSS id/class tags?
- how to know if admin is in edit page or post [duplicate]
- How to remove entire admin menu?
- The website cannot display the page
- Set Default Admin Colour For All Users
- How can I target WordPress 3.8 new interface MP6 with CSS?
- Settings API – easiest way of validating checkboxes?
- initial sort order for a sortable custom column in admin
- Uploading files in admin panel?
- Redirect Admin User in Dashboard
- Read only capability for custom post in admin area
- How can ‘admin_email’ be set?
- How to change WordPress default strings?
- Remove ability to access certain admin menus
- Gutenberg “Add Block” button is not active (greyed out), cannot add new blocks
- How To View Site from Non-Logged-In User’s Perspective
- Conditional check for front-end which includes ajax
- Hide update messages from non-admin users?
- Daily notices of failed login attempts for non-existent admin user
- Reorder plugin items in the admin menu
- Wrong url in sortable column headers & pagination in the admin, when behind a proxy
- Reference external file as a function
- “Automatically add new top-level pages” Default
- Is it possible to hook AJAX to UPDATE-button?
- Get email address of type Administrator
- Check if user is logged in else login page
- Which hook for processing plugin page form data?
- Calling a shortcode in the backend
- Add tabbed menu to admin page
- Is there a way to have admins that are logged in to wordpress not have to enter the password for password protected pages while browsing the website?
- WYSIWYG – Getting the “link” button from HTML mode in Visual mode
- Error thrown. Cannot create references to/from string offsets
- How to receive security update notification email?
- Include admins in author drop-down on edit post screen
- How can I restore admin capabilities?
- How to restrict wp-admin and prevent upload errors
- Adding another “Add Post” button to admin
- Admin page redirect to another admin page
- How to determine if an admin is logged in outside the loop
- What determines whether admin toolbar is shown to a logged-in user?
- Adding text in more than one language (at the same time)
- How to get view count of every page on site and add that (increasing) number to Dashboard Widget
- Restrict function call to page load but not ajax call
- How do I remove All and Published if not admin?
- How to disable https from wordpress site?
- Fatal error: Exception thrown without a stack frame in Unknown on line 0
- Apply permissions per post
- Where should I hook into admin?
- Settings API not saving values to database
- Dashboard menu missing
- How to remove wp panel for users
- Unable to upload image using the standard uploader in the WP admin (v4.3)
- Admin role not really admin
- Fixed layout for admin section
- Featured image on post edit page not loading over HTTPS
- Copying WordPress site, HOW about the DB connection?
- How do I diagnose a plugin resource 404?
- Add menu item to edit specific page
- Post editor is 89953px tall. How to fix?
- Does an administrator access allow someone to access to the WordPress database?
- Change Name of Category Heading in New Post
- How to make sure your admin doesn’t hi-jack you site?
- Admin bar is disabled in front
- Load stylesheet on custom admin submenu page
- Disable login on multisite web sites
- Other than save_post any other actions on add / edit post screen?
- Add JavaScript in admin in custom plugin [duplicate]
- Remove iPhone detection on login page
- Dashboard RSS Widget Overhaul
- Possible to show in media library if images are being used as featured images?
- Give admin_menu permission to specific users
- How can all E-mails be sent with BCC copy to Admin?
- How To Create WordPress Dashboard Item
- Login to admin by frontend form?
- Doesn’t call user information to include “wp-load.php” in an external php file
- How do I add an admin table to my page?
- How to save edited post when submitting form
- Show admin bar to editors with Buddypres
- Redirect non-admin after login, and in url – /admin
- Admin hook after editing an image?
- Form submit in admin does not set is_admin() true
- Get the selected posts IDs to use in bulk edit AJAX call
- Disabling “View” mentions from backend?
- Handle logo text color from admin section
- WordPress “Hide WP” Gives Me Error After Admin Login [closed]
- User interfaces living in the Admin “back end” area
- Capability to read/edit page in wp-admin only for administrators
- blank white page in admin, white space hunting?
- WordPress blog code format
- htaccess and htpasswd
- How to fix broken admin Thickbox?
- New User Notification – Setting Email
- Can’t access my wp admin: captcha images invisible, gives me error message
- Pull Random Images From Options Page [closed]
- You do not have permission to access this document on form submit
- Woo Commerce Settings for Check-out Form [closed]
- 2FA for admin login only, is it doable?
- Add a user to edit the layout of a site
- CSS Styles specific to Admin Sidebar not loading
- Display notice in block editor after wp_insert_post_data hook