[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - Users Profile 4 * 5 * @package BuddyPress 6 * @subpackage bp-legacy 7 * @version 3.0.0 8 */ 9 10 ?> 11 12 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 13 <ul> 14 <?php bp_get_options_nav(); ?> 15 </ul> 16 </div><!-- .item-list-tabs --> 17 18 <?php 19 20 /** 21 * Fires before the display of member profile content. 22 * 23 * @since 1.1.0 24 */ 25 do_action( 'bp_before_profile_content' ); ?> 26 27 <div class="profile"> 28 29 <?php switch ( bp_current_action() ) : 30 31 // Edit 32 case 'edit' : 33 bp_get_template_part( 'members/single/profile/edit' ); 34 break; 35 36 // Change Avatar 37 case 'change-avatar' : 38 bp_get_template_part( 'members/single/profile/change-avatar' ); 39 break; 40 41 // Change Cover Image 42 case 'change-cover-image' : 43 bp_get_template_part( 'members/single/profile/change-cover-image' ); 44 break; 45 46 // Compose 47 case 'public' : 48 49 // Display XProfile 50 if ( bp_is_active( 'xprofile' ) ) 51 bp_get_template_part( 'members/single/profile/profile-loop' ); 52 53 // Display WordPress profile (fallback) 54 else 55 bp_get_template_part( 'members/single/profile/profile-wp' ); 56 57 break; 58 59 // Any other 60 default : 61 bp_get_template_part( 'members/single/plugins' ); 62 break; 63 endswitch; ?> 64 </div><!-- .profile --> 65 66 <?php 67 68 /** 69 * Fires after the display of member profile content. 70 * 71 * @since 1.1.0 72 */ 73 do_action( 'bp_after_profile_content' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Apr 28 01:01:05 2024 | Cross-referenced by PHPXref 0.7.1 |