Remove the User Menu or Edit Profile or Logout Link from Top Admin Bar

Remove The User Menu Or Edit Profile Or Logout Link From Top Admin Bar Image

Yea, sometimes users just don’t need easy access to their account… I mean, in most surveys, most users strongly agree that they prefer things to be as difficult as possible. So give ’em what they want! Hide the user menu or the edit profile menu… heck, even the logout link! Keep ’em locked up in your site forrreeeevvvvverrrrrrrrrr!

These are the keywords you can use to remove something.

What it does…

Removes items like Logout or Edit Profile from the top right User Menu. Or you remove the entire User Menu.

Why it does it…

Why not?! Well, lots of reasons why not. But the question is why… so… I don’t know.

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 *