Issue retrieving user id for plugin.
I am having a slight dilemma, I am trying to retrieve the current user id value using $bb_current_user->id and it keeps getting a null value. I can display the value outside of my plugin by calling it anywhere in the template. I have tried making it global inside the plugin, but the variable declaration is before any functions.
any help would be greatly appreciated
You must be logged in to reply to this topic.