[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Users Settings
   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 if ( bp_core_can_edit_settings() ) : ?>
  15  
  16              <?php bp_get_options_nav(); ?>
  17  
  18          <?php endif; ?>
  19      </ul>
  20  </div>
  21  
  22  <?php
  23  
  24  switch ( bp_current_action() ) :
  25      case 'notifications'  :
  26          bp_get_template_part( 'members/single/settings/notifications'  );
  27          break;
  28      case 'capabilities'   :
  29          bp_get_template_part( 'members/single/settings/capabilities'   );
  30          break;
  31      case 'delete-account' :
  32          bp_get_template_part( 'members/single/settings/delete-account' );
  33          break;
  34      case 'general'        :
  35          bp_get_template_part( 'members/single/settings/general'        );
  36          break;
  37      case 'profile'        :
  38          bp_get_template_part( 'members/single/settings/profile'        );
  39          break;
  40      case 'data'           :
  41          bp_get_template_part( 'members/single/settings/data'           );
  42          break;
  43      default:
  44          bp_get_template_part( 'members/single/plugins'                 );
  45          break;
  46  endswitch;


Generated: Fri Sep 25 01:01:33 2020 Cross-referenced by PHPXref 0.7.1