/bp-templates/bp-legacy/buddypress/members/single/plugins.php

  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. */ 
  11.  
  12. /** 
  13. * Fires at the start of the member plugin template. 
  14. * 
  15. * @since 1.2.0 
  16. */ 
  17. do_action( 'bp_before_member_plugin_template' ); ?> 
  18.  
  19. <?php if ( ! bp_is_current_component_core() ) : ?> 
  20.  
  21. <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 
  22. <ul> 
  23. <?php bp_get_options_nav(); ?> 
  24.  
  25. <?php 
  26.  
  27. /** 
  28. * Fires inside the member plugin template nav <ul> tag. 
  29. * 
  30. * @since 1.2.2 
  31. */ 
  32. do_action( 'bp_member_plugin_options_nav' ); ?> 
  33. </ul> 
  34. </div><!-- .item-list-tabs --> 
  35.  
  36. <?php endif; ?> 
  37.  
  38. <?php if ( has_action( 'bp_template_title' ) ) : ?> 
  39. <h3><?php 
  40.  
  41. /** 
  42. * Fires inside the member plugin template <h3> tag. 
  43. * 
  44. * @since 1.0.0 
  45. */ 
  46. do_action( 'bp_template_title' ); ?></h3> 
  47.  
  48. <?php endif; ?> 
  49.  
  50. <?php 
  51.  
  52. /** 
  53. * Fires and displays the member plugin template content. 
  54. * 
  55. * @since 1.0.0 
  56. */ 
  57. do_action( 'bp_template_content' ); ?> 
  58.  
  59. <?php 
  60.  
  61. /** 
  62. * Fires at the end of the member plugin template. 
  63. * 
  64. * @since 1.2.0 
  65. */ 
  66. do_action( 'bp_after_member_plugin_template' ); ?> 
.