Hook or template tag for bbPress only page
I have a normal WordPress site with the bbPress Plugin installed.
Is there a hook or template tag I can use to run code when any type of front end bbPress page is displayed (forum/topic/reply etc.)?
I want to run some custom code, but only if the current page is a bbPress page. I don’t want code to run on every page on my site when it’s not needed (i.e. for non-bbPress pages).
- You must be logged in to reply to this topic.