bbp_forum_post_count

bbp_forum_post_count

bbp_forum_post_count
Codex Home → bbp_forum_post_count
Description
The 『bbp_forum_post_count』 function is used to display the total count of all replies to topics within a forum and sub forums
How to use it
1
$forum_id (optional) – Returns count for particular forum id
$total_count (optional) – Returns total count for all replies in forum and sub forums by default or if true, otherwise returns total count for all replies in a forum not including replies in subforum(s)
Uses bbp_get_forum_post_count()
Sample code example
1
Displays the total count of all replies within a forum and sub forums
1
Displays the count of all replies within a forum excluding sub forums of parent forum

发表回复

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

报告拼写错误

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