#41193 closed defect (bug) (invalid)
Cannot remove sub-menu item in WP admin which links to admin.php
| Reported by: | subrataemfluence | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 4.7.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
Description
I am trying to remove the following sub-menu page
http://vagrant.local/wp/wp-admin/admin.php?page=home_settings_page with the following but it never disappears
remove_submenu_page( 'admin.php', 'home_settings_page' )
But remove_submenu_page( 'options_general.php', 'here_is_the_option' ) works.
Codex page I am referring to is:
https://codex.wordpress.org/Function_Reference/remove_submenu_page
Change History (2)
#1
in reply to: ↑ description
@
9 years ago
#2
@
9 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
home_settings_page is not a part of WordPress core. This seems like a support issue, so I'd suggest trying the support forums to resolve it: https://wordpress.org/support/.
Feel free to reopen with steps to reproduce on a clean install if it turns out to be an issue in WordPress core.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replying to subrataemfluence: