Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing bbPress templates


  • Karnifexx
    Participant

    @karnifexx

    bbpress has a large number of do_action() statements. I am familiar with this at the wordpress level but I am unable to locate where bbpress registers a large number of these actions. Specifically I would like to change the behaviour of:

    do_action( ‘bbp_template_before_forums_loop’ );
    If someone could point me in the right direction that would be greatly appreciated.

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

  • Karnifexx
    Participant

    @karnifexx

    no idea why the forum is saying I posted this a year ago. It was only minutes.


    Robin W
    Moderator

    @robin-w

    Try

    Step by step guide to setting up a bbPress forum – part 4

    The actions are used in the templates held in

    wp-content/plugins/bbpress/templates/default/bbpress/


    Karnifexx
    Participant

    @karnifexx

    I’ve already run a full text search through all files includes in the bbpress plugin. No files contain a reference to ‘bbp_template_before_forums_loop’, except loop-forums.php where it is called from.


    Robin W
    Moderator

    @robin-w

    do_action( ‘bbp_template_before_forums_loop’ );
    does nothing !

    It is the hook onto which you would add an action using a function and an “add_action” command.

    If you want to alter behaviour, the it is probably the function after it that you would want to filter.

    Come back and describe what you’re trying to achieve and I’ll try and help further

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