Let's say i wanted to have a different set of profile fields depending on subtype of a group.
I've registered the hook on 'profile:fields' in my plugin, but i can't find how to know the subtype so i would be able to conditionally return the correct fields.
Can anyone please assist me?
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.