bbp_forum_topic_count_hidden( int $forum_id, boolean $integer = false )

Output total hidden topic count of a forum (hidden includes trashed and spammed topics)

Description

Parameters

$forum_id

(int) (Optional) Topic id

$integer

(boolean) (Optional) Whether or not to format the result

Default value: false

Source

File: bp-forums/forums/template.php

function bbp_forum_topic_count_hidden( $forum_id = 0, $integer = false ) {
	echo bbp_get_forum_topic_count_hidden( $forum_id, $integer );
}

Changelog

Changelog
Version Description
bbPress (r2883) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.