[buddypress-trac] [BuddyPress Trac] #6691: do_action( 'bp_group_members_list_item_action' ) inside bp_is_active check
buddypress-trac
noreply at wordpress.org
Thu Oct 29 16:06:03 UTC 2015
#6691: do_action( 'bp_group_members_list_item_action' ) inside bp_is_active check
-----------------------------------------+--------------------
Reporter: modemlooper | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.4.1
Component: Appearance - Template Parts | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
-----------------------------------------+--------------------
Comment (by modemlooper):
{{{
<div class="action">
<?php if ( bp_is_active( 'friends' ) ) : ?>
<?php bp_add_friend_button( bp_get_group_member_id(),
bp_get_group_member_is_friend() ); ?>
<?php endif; ?>
<?php
/**
* Fires inside the action section of an individual group member
listing item.
*
* @since BuddyPress (1.1.0)
*/
do_action( 'bp_group_members_list_item_action' ); ?>
</div>
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6691#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list