Changeset 4764 for trunk/bp-groups/bp-groups-forums.php
- Timestamp:
- 07/21/2011 02:14:16 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-forums.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-forums.php
r4684 r4764 245 245 } 246 246 247 248 247 function groups_total_public_forum_topic_count( $type = 'newest' ) { 249 248 return apply_filters( 'groups_total_public_forum_topic_count', BP_Groups_Group::get_global_forum_topic_count( $type ) ); 250 249 } 251 250 251 /** 252 * Get a total count of all topics of a given status, across groups/forums 253 * 254 * @package BuddyPress 255 * @since 1.3 256 * 257 * @param str $status 'public', 'private', 'hidden', 'all' Which group types to count 258 * @return int The topic count 259 */ 260 function groups_total_forum_topic_count( $status = 'public' ) { 261 return apply_filters( 'groups_total_forum_topic_count', BP_Groups_Group::get_global_topic_count( $status ) ); 262 } 263 252 264 ?>
Note: See TracChangeset
for help on using the changeset viewer.