The Wayback Machine - https://webcf.waybackmachine.org/web/20140727221039/http://codex.bbpress.org:80/bbp_theme_after_forum_sub_forums/
Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_theme_after_forum_sub_forums

Codex Home → bbp_theme_after_forum_sub_forums

Description

The ‘bbp_theme_after_forum_sub_forums’ action is used to display content after each list of sub forum links.

Where it can be found

On line 26 of

/bbp-theme-compat/bbpress/loop-single-forum.php
/bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php
1
<?php do_action( 'bbp_theme_after_foum_sub_forums' ); ?>

How to use it

Since this is an action, we can use add_action to hook into it.

Sample code example

1
2
3
4
add_action( 'bbp_theme_after_forum_sub_forums', 'jc_after_sub_forum_list' );
function jc_after_sub_forum_list() {
     echo 'Hello world!';
}

Note: Always remember to prefix your functions to avoid conflicts!