[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Activity: User's "Activity > Friends" screen handler 4 * 5 * @package BuddyPress 6 * @subpackage ActivityScreens 7 * @since 3.0.0 8 */ 9 10 /** 11 * Load the 'My Friends' activity page. 12 * 13 * @since 1.0.0 14 */ 15 function bp_activity_screen_friends() { 16 if ( !bp_is_active( 'friends' ) ) 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 Friends" screen template file. 23 * 24 * @since 1.2.0 25 */ 26 do_action( 'bp_activity_screen_friends' ); 27 28 /** 29 * Filters the template to load for the "My Friends" screen. 30 * 31 * @since 1.0.0 32 * 33 * @param string $template Path to the activity template to load. 34 */ 35 bp_core_load_template( apply_filters( 'bp_activity_template_friends_activity', 'members/single/home' ) ); 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |