Remove the “+New” Dropdown Menu When Logged In

Remove The New Dropdown Menu When Logged In Image

When you’re logged in to the WordPress admin, there’s that pesky “+New” dropdown in the menu bar across the top. If you don’t want it, just remove it!

What it does…

Removes the “+New” dropdown menu from the Top Admin Menu Bar when logged in.

Why it does it…

Sometimes you just don’t want it!

How it does it…

Uses the `remove_menu` method on `\$wp_admin_bar`

Use the JSON file for easily importing into your CodeSnippetsPro plugin. Use the PHP file or just copy/paste the code sample into your functions.php if you’re not using CodeSnippetsPro.

Related Snips

Leave a Reply

Your email address will not be published. Required fields are marked *