Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issue retrieving user id for plugin.


  • Sean Metzgar
    Member

    @seanmetzgar-1

    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.

    $bbppv=$bb_current_user->id;

    any help would be greatly appreciated

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar