diff --git src/includes/forums/template.php src/includes/forums/template.php
index 70bc444f..a9eefdca 100644
|
|
function bbp_forum_topic_count_hidden( $forum_id = 0, $total_count = true, $inte |
1356 | 1356 | */ |
1357 | 1357 | function bbp_get_forum_topic_count_hidden( $forum_id = 0, $total_count = true, $integer = null ) { |
1358 | 1358 | $forum_id = bbp_get_forum_id( $forum_id ); |
1359 | | $meta_key = empty( $total_count ) ? '_bbp_topic_count_hidden' : '_bbp_topic_reply_count_hidden'; |
| 1359 | $meta_key = ( ! $total_count ) ? '_bbp_topic_count_hidden' : '_bbp_total_topic_count_hidden'; |
1360 | 1360 | $topics = (int) get_post_meta( $forum_id, $meta_key, true ); |
1361 | 1361 | $filter = ( true === $integer ) |
1362 | 1362 | ? 'bbp_get_forum_topic_count_hidden_int' |