[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Activity: User's "Activity > Groups" screen handler 4 * 5 * @package BuddyPress 6 * @subpackage ActivityScreens 7 * @since 3.0.0 8 */ 9 10 /** 11 * Load the 'My Groups' activity page. 12 * 13 * @since 1.2.0 14 */ 15 function bp_activity_screen_groups() { 16 if ( !bp_is_active( 'groups' ) ) 17 return false; 18 19 bp_update_is_item_admin( bp_current_user_can( 'bp_moderate' ), 'activity' ); 20 21 /** 22 * Fires right before the loading of the "My Groups" screen template file. 23 * 24 * @since 1.2.0 25 */ 26 do_action( 'bp_activity_screen_groups' ); 27 28 /** 29 * Filters the template to load for the "My Groups" screen. 30 * 31 * @since 1.2.0 32 * 33 * @param string $template Path to the activity template to load. 34 */ 35 bp_core_load_template( apply_filters( 'bp_activity_template_groups_activity', 'members/single/home' ) ); 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 22 01:00:56 2024 | Cross-referenced by PHPXref 0.7.1 |