I'm building a WordPress plugin and I'd like to have an edit-item page that can't be reached via the submenu (because then the item wouldn't be specified).
This resource (http://codex.wordpress.org/Adding_Administration_Menus) shows how to associate an admin page with a function, but not how to do so without adding it as a menu item.
Can this be done?
Thanks!
Hiding the admin bar for a user roleInstall the “Hide Admin Bar Based on the User Roles” plugin and go to Settings → Hide Admin Bar Settings → User Roles. Select the user roles you want to prevent from accessing the WordPress dashboard and save your settings.
The WordPress Toolbar, formerly known as the Admin Bar, is a small bar at the top of your screen that's present both when viewing the live version of your website and when browsing the WordPress admin panel (assuming you're logged in to WordPress).
Best solution here http://wordpress.org/support/topic/add-backend-page-without-menu-item
use
add_submenu_page
with parent slug = null
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With