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/request-membership.php

    r9604 r9788  
    1 <?php do_action( 'bp_before_group_request_membership_content' ); ?>
     1<?php
     2
     3/**
     4 * Fires before the display of the group membership request form.
     5 *
     6 * @since BuddyPress (1.1.0)
     7 */
     8do_action( 'bp_before_group_request_membership_content' ); ?>
    29
    310<?php if ( !bp_group_has_requested_membership() ) : ?>
     
    815        <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea>
    916
    10         <?php do_action( 'bp_group_request_membership_content' ); ?>
     17        <?php
     18
     19        /**
     20         * Fires after the textarea for the group membership request form.
     21         *
     22         * @since BuddyPress (1.1.0)
     23         */
     24        do_action( 'bp_group_request_membership_content' ); ?>
    1125
    1226        <p><input type="submit" name="group-request-send" id="group-request-send" value="<?php esc_attr_e( 'Send Request', 'buddypress' ); ?>" />
     
    1630<?php endif; ?>
    1731
    18 <?php do_action( 'bp_after_group_request_membership_content' ); ?>
     32<?php
     33
     34/**
     35 * Fires after the display of the group membership request form.
     36 *
     37 * @since BuddyPress (1.1.0)
     38 */
     39do_action( 'bp_after_group_request_membership_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.