bbp_theme_before_forum_title
Codex Home → bbp_theme_before_forum_title
Description
The 『bbp_theme_before_forum_title』 action is used to display content before each forum title on the forum index pages.
Where it can be found
On line 16 of
/bbp-theme-compat/bbpress/loop-single-forum.php
/bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php
How to use it
Since this is an action, we can use add_action to hook into it.
Sample code example
1234add_action( 'bbp_theme_before_forum_title', 'jc_before_forum_title' );function jc_before_forum_title() { echo 'Hello world!';}
Note: Always remember to prefix your functions to avoid conflicts!
bbp_theme_before_forum_title
bbp_theme_before_forum_title