[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/ -> settings.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Users Settings
   4   *
   5   * @version 4.0.0
   6   */
   7  
   8  ?>
   9  
  10  <?php if ( bp_core_can_edit_settings() ) : ?>
  11  
  12      <nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Settings menu', 'buddypress' ); ?>">
  13          <ul class="subnav">
  14  
  15              <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
  16  
  17          </ul>
  18      </nav>
  19  
  20  <?php
  21  endif;
  22  
  23  switch ( bp_current_action() ) :
  24      case 'notifications':
  25          bp_get_template_part( 'members/single/settings/notifications' );
  26          break;
  27      case 'capabilities':
  28          bp_get_template_part( 'members/single/settings/capabilities' );
  29          break;
  30      case 'delete-account':
  31          bp_get_template_part( 'members/single/settings/delete-account' );
  32          break;
  33      case 'general':
  34          bp_get_template_part( 'members/single/settings/general' );
  35          break;
  36      case 'profile':
  37          bp_get_template_part( 'members/single/settings/profile' );
  38          break;
  39      case 'invites':
  40          bp_get_template_part( 'members/single/settings/group-invites' );
  41          break;
  42      case 'data':
  43          bp_get_template_part( 'members/single/settings/data' );
  44          break;
  45      default:
  46          bp_get_template_part( 'members/single/plugins' );
  47          break;
  48  endswitch;


Generated: Tue Dec 10 01:01:39 2019 Cross-referenced by PHPXref 0.7.1