Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/23/2015 05:14:51 AM (11 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/invites-loop.php

    r9357 r9788  
    1616<div class="main-column">
    1717
    18     <?php do_action( 'bp_before_group_send_invites_list' ); ?>
     18    <?php
     19
     20    /**
     21     * Fires before the display of the group send invites list.
     22     *
     23     * @since BuddyPress (1.1.0)
     24     */
     25    do_action( 'bp_before_group_send_invites_list' ); ?>
    1926
    2027    <?php if ( bp_group_has_invites( bp_ajax_querystring( 'invite' ) . '&per_page=10' ) ) : ?>
     
    4754                <span class="activity"><?php bp_group_invite_user_last_active(); ?></span>
    4855
    49                 <?php do_action( 'bp_group_send_invites_item' ); ?>
     56                <?php
     57
     58                /**
     59                 * Fires inside the invite item listing.
     60                 *
     61                 * @since BuddyPress (1.1.0)
     62                 */
     63                do_action( 'bp_group_send_invites_item' ); ?>
    5064
    5165                <div class="action">
    5266                    <a class="button remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e( 'Remove Invite', 'buddypress' ); ?></a>
    5367
    54                     <?php do_action( 'bp_group_send_invites_item_action' ); ?>
     68                    <?php
     69
     70                    /**
     71                     * Fires inside the action area for a send invites item.
     72                     *
     73                     * @since BuddyPress (1.1.0)
     74                     */
     75                    do_action( 'bp_group_send_invites_item_action' ); ?>
    5576                </div>
    5677            </li>
     
    84105    <?php endif; ?>
    85106
    86 <?php do_action( 'bp_after_group_send_invites_list' ); ?>
     107<?php
     108
     109/**
     110 * Fires after the display of the group send invites list.
     111 *
     112 * @since BuddyPress (1.1.0)
     113 */
     114do_action( 'bp_after_group_send_invites_list' ); ?>
    87115
    88116</div><!-- .main-column -->
Note: See TracChangeset for help on using the changeset viewer.