[Plugin: Admin Menu Editor] Log Out link & hide Profile?
-
I’ve removed the “Howdy User” dropdown in my admin header so need to have a Log Out somewhere. Is there a way to use Admin Menu Editor to create a “Log Out” link in the left column menu? I see the ability to create a New Menu item and there are quite a few URL options in the dropdown, but unfortunately logout is not among them. I can put in “/wp-login.php?action=logout” as the URL but without the dynamic wpnonce value it always takes an extra step to logout. Using Advanced Options I can set a Hook Name. Is that something that can be parsed in the functions.php to produce the wp_logout_url() via add_action or add_filter? Or is there something WAY simpler I’m not seeing?
And somewhat related, I don’t want my blog’s contributors to have the ability to edit their profiles. I’ve been able to limit access to the Users menu and submenus, but is there a way to remove the Profile menu when a non-admin is logged in?
Thanks in advance!
https://www.ads-software.com/extend/plugins/admin-menu-editor/
————
PS: Sorry if this is coming thru as a double-post. I kept getting a “This topic has been closed” error when I tried to update it. The recommendation in threads about that error was that it’s a bug and to re-post, soooo….
- The topic ‘[Plugin: Admin Menu Editor] Log Out link & hide Profile?’ is closed to new replies.