Support » Plugin: WangGuard » Remove WangGuard link from admin bar
3 years, 9 months ago
How to remove WangGuard link from admin bar?
Add to your Theme functions.php file this lines:
remove_action('bp_adminbar_menus', 'wangguard_add_bp_admin_bar_menus' , 10 );
remove_action('admin_bar_menu', 'wangguard_add_wp_admin_bar_menus', 100 );
Hi José Conti,
Thank you for quick response.
3 years, 8 months ago
why not to add an option for this?
your wish is my command.
The next version will allow to disable the WangGuard menu from admin.
3 years, 7 months ago
Now is live.
WangGuard version 1.5.9+
Thank you very much!
3 years, 6 months ago
I guess I accidentally removed the Wangguard menu – how can I access it again?
Or you added the code, or you marked in wp-admin -> (network if is multisite) -> “WangGuard” -> “configuration” -> “WangGuard Settings ” and unmark “Disable WangGuard menu from WordPress & BuddyPress AdminBar.”
With the menu set off, there is nothing to click. One should access the settings again by adding this to the url:
Do you not have the WangGuard menu? (left hand of the screen).