Would it not be better to read the source or the docs than guessing function names?
:)
See:
http://docs.elgg.org/wiki/Helpers
for your answer.
get_loggedin_userid() is the correct function. Check out http://reference.elgg.org/ for a complete list of functions.
Thanks for your help, I think I'm starting to understand it all a little more now.
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.