Changeset 13762 for trunk/src/bp-groups/screens/single/activity.php
- Timestamp:
- 03/09/2024 10:55:43 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/screens/single/activity.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/screens/single/activity.php
r11923 r13762 12 12 * 13 13 * @since 2.4.0 14 * 15 * @return void 14 16 */ 15 17 function groups_screen_group_activity() { 16 18 17 19 if ( ! bp_is_single_item() ) { 18 return false;20 return; 19 21 } 20 22 … … 26 28 do_action( 'groups_screen_group_activity' ); 27 29 28 /** 29 * Filters the template to load for a single group's activity page. 30 * 31 * @since 2.4.0 32 * 33 * @param string $value Path to a single group's template to load. 34 */ 35 bp_core_load_template( apply_filters( 'groups_screen_group_activity', 'groups/single/activity' ) ); 30 $templates = array( 31 /** 32 * Filters the template to load for a single group's activity page. 33 * 34 * @since 2.4.0 35 * 36 * @param string $value Path to a single group's template to load. 37 */ 38 apply_filters( 'groups_screen_group_activity', 'groups/single/activity' ), 39 'groups/single/index', 40 ); 41 42 bp_core_load_template( $templates ); 36 43 }
Note: See TracChangeset
for help on using the changeset viewer.