Changeset 2497
- Timestamp:
- 07/20/2010 03:51:08 PM (16 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-templatetags.php
r2496 r2497 261 261 $forum_id = bbp_get_forum_id(); 262 262 263 $children = get_children( array( 'post_parent' => $forum_id, 'post_type' => BBP_TOPIC_ REPLY_POST_TYPE_ID ) );263 $children = get_children( array( 'post_parent' => $forum_id, 'post_type' => BBP_TOPIC_POST_TYPE_ID ) ); 264 264 265 265 return apply_filters( 'bbp_get_forum_topic_count', count( $children ) );
Note: See TracChangeset
for help on using the changeset viewer.