in V2025 MenuItem_Adding function can you still use CurrentUserInfo()?
if i do a var_dump(CurrentUserInfo()); null is returned
thanks
in V2025 MenuItem_Adding function can you still use CurrentUserInfo()?
if i do a var_dump(CurrentUserInfo()); null is returned
thanks
CurrentUserInfo()
(or there is no current user), it returns null for anonymous user.CurrentUserInfo()
requires an argument which is one of the field name in the users table.