Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hook or template tag for bbPress only page


  • David Gwyer
    Participant

    @dgwyer

    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).

    Thanks.

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

You must be logged in to reply to this topic.