[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Users Plugins Template
   4   *
   5   * 3rd-party plugins should use this template to easily add template
   6   * support to their plugins for the members component.
   7   *
   8   * @package BuddyPress
   9   * @subpackage bp-legacy
  10   * @version 3.0.0
  11   */
  12  
  13          /**
  14           * Fires at the start of the member plugin template.
  15           *
  16           * @since 1.2.0
  17           */
  18          do_action( 'bp_before_member_plugin_template' ); ?>
  19  
  20          <?php if ( ! bp_is_current_component_core() ) : ?>
  21  
  22          <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
  23              <ul>
  24                  <?php bp_get_options_nav(); ?>
  25  
  26                  <?php
  27  
  28                  /**
  29                   * Fires inside the member plugin template nav <ul> tag.
  30                   *
  31                   * @since 1.2.2
  32                   */
  33                  do_action( 'bp_member_plugin_options_nav' ); ?>
  34              </ul>
  35          </div><!-- .item-list-tabs -->
  36  
  37          <?php endif; ?>
  38  
  39          <?php if ( has_action( 'bp_template_title' ) ) : ?>
  40              <h3><?php
  41  
  42              /**
  43               * Fires inside the member plugin template <h3> tag.
  44               *
  45               * @since 1.0.0
  46               */
  47              do_action( 'bp_template_title' ); ?></h3>
  48  
  49          <?php endif; ?>
  50  
  51          <?php
  52  
  53          /**
  54           * Fires and displays the member plugin template content.
  55           *
  56           * @since 1.0.0
  57           */
  58          do_action( 'bp_template_content' ); ?>
  59  
  60          <?php
  61  
  62          /**
  63           * Fires at the end of the member plugin template.
  64           *
  65           * @since 1.2.0
  66           */
  67          do_action( 'bp_after_member_plugin_template' );


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