I tried unregistering the 'Friend collections' item in start.php of my theme package.
elgg_unregister_menu_item('page', 'friends:view:collections');
This has no effect.
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.
- Matt Beckett@Beck24

Matt Beckett - 0 likes
You must log in to post replies.That's because the menu item is registered in the 'system', 'pagesetup' event. You can't unregister it before it's registered :)
You can either move that line to the pagesetup event, or use the 'register', 'menu:page' plugin hook and remove it from the array directly.