Can I use bb_is_user_logged_in() in template?
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?
- You must be logged in to reply to this topic.