Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can I use bb_is_user_logged_in() in template?


  • johnmontfx
    Participant

    @johnmontfx

    I’m wanting to use the pluggable function bb_is_user_logged_in() in a bbpress template file in my custom theme, but I’m getting the dreaded “Call to undefined function bb_is_user_logged_in()” message.

    From my understanding, I could copy the pluggable function to my theme, but shouldn’t I be able to use this as part of the forums loop since bbPress is loaded?

    Am I misunderstanding something here?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

  • johnmontfx
    Participant

    @johnmontfx

    [Resolved]
    Oops…sorry…I just noticed the pluggable function is in BuddyPress and not bbPress.

    Still surprised I can’t access it, but not a bbpress problem 🙂

    Hi,
    That seems to be a buddypress function, not a bbPress one. If you have buddypress installed, then I think the buddypress forum might be able to help you.
    Pascal.

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