Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2015 01:52:18 AM (10 years ago)
Author:
tw2113
Message:

Adds hooks documentation for the members template files.

Fixes #5948.

File:
1 edited

Legend:

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

    r9765 r9814  
    1 <?php do_action( 'bp_before_group_invites_content' ); ?>
     1<?php
     2
     3/**
     4 * Fires before the display of member group invites content.
     5 *
     6 * @since BuddyPress (1.1.0)
     7 */
     8do_action( 'bp_before_group_invites_content' ); ?>
    29
    310<?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
     
    1825                </p>
    1926
    20                 <?php do_action( 'bp_group_invites_item' ); ?>
     27                <?php
     28
     29                /**
     30                 * Fires inside the display of a member group invite item.
     31                 *
     32                 * @since BuddyPress (1.1.0)
     33                 */
     34                do_action( 'bp_group_invites_item' ); ?>
    2135
    2236                <div class="action">
     
    2438                    <a class="button reject confirm" href="<?php bp_group_reject_invite_link(); ?>"><?php _e( 'Reject', 'buddypress' ); ?></a>
    2539
    26                     <?php do_action( 'bp_group_invites_item_action' ); ?>
     40                    <?php
     41
     42                    /**
     43                     * Fires inside the member group item action markup.
     44                     *
     45                     * @since BuddyPress (1.1.0)
     46                     */
     47                    do_action( 'bp_group_invites_item_action' ); ?>
    2748
    2849                </div>
     
    4061<?php endif;?>
    4162
    42 <?php do_action( 'bp_after_group_invites_content' ); ?>
     63<?php
     64
     65/**
     66 * Fires after the display of member group invites content.
     67 *
     68 * @since BuddyPress (1.1.0)
     69 */
     70do_action( 'bp_after_group_invites_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.