I want to unregister a menupoint (the dashboard) in the top bar
I have tried this:
elgg_unregister_menu_item('topbar', 'dashboard');
But it seems not to be the right name for this item.
How can I find out the right name?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- tobi@telltarget
tobi - 0 likes
You must log in to post replies.elgg_unregister_menu_item('topbar', 'dashboard'); is the same function you need to unregister the dashboard link. Where are you adding this? Also try to place the plugin under the bottom of the list.
I have place this in the init function of my plugin.
Now I have run the upgrade.php and the dashboard icon has gone away.