Try using remove_menu_page()
.
https://codex.wordpress.org/Function_Reference/remove_menu_page
Related Posts:
- add_menu_page() with function inside a class [duplicate]
- How to put placeholder text in the main post input area?
- Set different custom menu items for different user roles
- Disable Auto-Expanding Menu in WordPress Admin Menus
- Proper way to create an administration page without adding it to the menu
- add_menu_page() with different name for first submenu item
- Creating a table in the admin-style?
- body_class hook for admin pages
- Passing arguments to a admin menu page callback?
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- Change admin language based on user (in single-site)
- What is the real intention for admin-post.php?
- Admin settings update updating every time home page is hit?
- What’s the best method for emptying an option created with the Settings API?
- What is the recommended way to create plugin administration forms?
- Admin config screen without menu
- Make Categories and Tags required in admin
- How to add a new plugin page under desired Options page?
- Is it possible to add an admin page using add_submenu_page() and pass a var in the query string?
- How to add HTML / Form to an Admin Bar Menu
- Overwriting Core WordPress Functions with Plugins
- Error with Custom Admin Screen in iframe Thickbox
- why don’t I get error messages in admin when developing?
- Naming Admin Menus and Submenus
- Current class on admin menu using add_submenu_page()
- Add Admin Menu Inside Construct or Init
- Master menu item for multiple plugins?
- Hook event for upload image in the menu
- Menu Error in Admin Console with Custom Plugin: You do not have sufficient permissions to access this page
- How to prevent parent admin page from appearring as a child admin page
- Admin Menus – Name Menu different from first Submenu [duplicate]
- How to add Font Awesome 5 icons in WP Admin dashboard menu?
- JS / JQuery form validation in backend admin menus
- Unified Approach for Placing Option Pages
- Is it possible to modify the media library admin screen?
- How to avoid creating first submenu page that is same as menu page?
- Get user id for delete and update selected user
- WordPress Ajax callback function from plugin – OOP
- OOP Plugin and Menu – Call to undefined function register_setting()
- Hiding Admin Page While Keeping Menu Expanded
- Admin auto-refresh is interfering with Firebug — how to prevent it?
- Associating custom submenu item with post type of top level menu item
- Including a JS source with an admin page
- WordPress not working on localhost
- maintaing consistent layout wordpress dashboard
- Add column and post filter for a custom post type field on the edit.php page
- Is there no admin ui guide for 4.x?
- Global State During an Admin Post
- Howto: Use Custom Post Types as Submenu Items in Admin
- Sub Menu content is being duplicated
- Correct check for any admin page with editor
- Adding (blog-specific) links to “My Sites” admin page
- Change the look and feel of admin pages
- Admin Plugin POST to another file within the plugin
- Show/Hide ‘add new user’ custom fields in wordpress admin panel by click another field
- Bootstrap doesn’t work on admin menu page-How to override wp-admin style?
- is it recommended to use WP_List_Table?
- Plugin sub-menu pages recommended structure and links
- Admin – Handle data before creating or updating a post, page or custom post
- How can I replace content in the WP Admin area before an admin page is rendered?
- Is there documentation reference for forms in menu and setting pages?
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- Including comments meta box on a plugin page
- How to Move the Comments Bubble to the Right Side of the Toolbar
- Does admin_print_scripts-$hook_suffix work for nested paths to individual files?
- Use ‘get’ form action within a WordPress plugin admin page
- Silently register plugin pages
- WordPress theme options Menu
- Print Dashboard submenu name and filename
- How to group navigation items in the admin panel
- Issue on Setting $icon_url Parameter on WP add_menu_page()
- creating a plug in that would tap into save/update action of posts [closed]
- Unable to get a simple plugin admin page to work
- Does is_admin() really provide a plugin performance improvement?
- Plugin Development – Get Admin Url (Including cases where wp-admin is not used)
- Use options to control jQuery plugin
- Restrict certain actions to plugin-specific admin menu pages only
- using admin functions on frontend
- Pause plugin option page until all data manipulation is complete
- How to make an admin plugin menu page go full screen?
- Google Web Core Vitals – management, how to in wordpress and advice
- Highlight active Admin Menu when added though add_menu_page
- How to add admin.php to WP Admin Menu Link
- How to create plugin settings page for each admin user?
- Create WordPress Menu Item Without Linking to a Custom Page
- add menu page in loop menu order
- How to return a blank page
- How put the correct URL to sub-menu plugin?
- How do I control the list of Pages an author can see?
- Add Admin menus or submenus depending on conditions
- Add a description/hint field in the admin page of a plugin
- What happens when you create/edit a menu
- Forcing ALL plugin Admin menus into a separate menu
- Plugin admin list pages as submenu
- Change Admin menu placement using hooks
- Menu_slug used for creating options page
- modify buddpress adminbar only in admin pages
- How to design WooCommerce-like admin tabs for plugin settings page?
- Is it possible to add Custom Dashboard Widgets to Custom Admin Menu Page?
- Show Admin Menu