Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/23/2015 05:14:51 AM (9 years ago)
Author:
tw2113
Message:

Adds more hooks documentation for the groups template files.

See #5948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php

    r8958 r9788  
    2525                <span class="activity"><?php bp_group_request_time_since_requested(); ?></span>
    2626
    27                 <?php do_action( 'bp_group_membership_requests_admin_item' ); ?>
     27                <?php
     28
     29                /**
     30                 * Fires inside the groups membership request list loop.
     31                 *
     32                 * @since BuddyPress (1.1.0)
     33                 */
     34                do_action( 'bp_group_membership_requests_admin_item' ); ?>
    2835
    2936                <div class="action">
     
    3340                    <?php bp_button( array( 'id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __( 'Reject', 'buddypress' ), 'link_text' => __( 'Reject', 'buddypress' ) ) ); ?>
    3441
    35                     <?php do_action( 'bp_group_membership_requests_admin_item_action' ); ?>
     42                    <?php
     43
     44                    /**
     45                     * Fires inside the list of membership request actions.
     46                     *
     47                     * @since BuddyPress (1.1.0)
     48                     */
     49                    do_action( 'bp_group_membership_requests_admin_item_action' ); ?>
    3650
    3751                </div>
Note: See TracChangeset for help on using the changeset viewer.