#451 closed defect (bug) (fixed)
Some hooks in /buddypress-theme/member-themes/buddypress-member/groups/group-menu.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | major | |
| Severity: | Version: | ||
| Component: | Keywords: | ||
| Cc: |
Description
I need more than one hook i think.
this it the code of /buddypress-theme/member-themes/buddypress-member/groups/group-menu.php
<?php bp_group_avatar() ?> <?php bp_group_join_button() ?> <div class="info-group"> <h4><?php _e( 'Admins', 'buddypress' ) ?></h4> <?php bp_group_list_admins() ?> </div> <?php if ( bp_group_has_moderators() ) : ?> <div class="info-group"> <h4><?php _e( 'Mods' , 'buddypress' ) ?></h4> <?php bp_group_list_mods() ?> </div> <?php endif; ?>
into
<?php bp_group_avatar() ?>
<?php bp_group_join_button() ?>
<?php do_action('groups_custom_profile_sidebar1'); ?>
<div class="info-group">
<h4><?php _e( 'Admins', 'buddypress' ) ?></h4>
<?php bp_group_list_admins() ?>
</div>
<?php if ( bp_group_has_moderators() ) : ?>
<div class="info-group">
<h4><?php _e( 'Mods' , 'buddypress' ) ?></h4>
<?php bp_group_list_mods() ?>
</div>
<?php endif; ?>
<?php do_action('groups_custom_profile_sidebar2'); ?>
so, two hooks:
groups_custom_profile_sidebar1 before the core widgets
groups_custom_profile_sidebar2 after the core widgets
Change History (3)
Note: See
TracTickets for help on using
tickets.
These hooks already exist.
groups_sidebar_after
groups_sidebar_before