bbp_theme_after_forum_description

bbp_theme_after_forum_description

bbp_theme_after_forum_description
Codex Home → bbp_theme_after_forum_description
Description
The 『bbp_theme_after_forum_description』 action is used to display content after the description of the forum on forum index pages.
Where it can be found
On line 32 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
add_action( 'bbp_theme_after_forum_description', 'jc_after_forum_description' );
function jc_after_forum_description() {
echo 'Hello world!';
}
Note: Always remember to prefix your functions to avoid conflicts!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

报告拼写错误

以下文本将发送给我们的编辑: