Changeset 4746 for trunk/includes/extend/buddypress/group.php
- Timestamp:
- 02/01/2013 03:43:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/extend/buddypress/group.php
r4733 r4746 113 113 // Map group forum activity items to groups 114 114 add_filter( 'bbp_before_record_activity_parse_args', array( $this, 'map_activity_to_group' ) ); 115 116 // No subforums yet, so suppress them for now117 add_filter( 'bbp_get_forum_subforum_count_int', array( $this, 'no_subforums_yet' ) );118 115 119 116 /** Caps **************************************************************/ … … 607 604 $forum = $forums[0]; 608 605 609 // Suppress subforums for now610 add_filter( 'bbp_get_forum_subforum_count', '__return_false' );611 612 606 // Set up forum data 613 607 bbpress()->current_forum_id = $forum->ID; … … 617 611 618 612 <?php bbp_get_template_part( 'content', 'single-forum' ); ?> 619 620 <?php621 622 // Remove the subforum suppression filter623 remove_filter( 'bbp_get_forum_subforum_count', '__return_false' );624 625 ?>626 613 627 614 <?php else : ?>
Note: See TracChangeset
for help on using the changeset viewer.