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/friends.php

    r9604 r9814  
    2424                    <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
    2525
    26                     <?php do_action( 'bp_member_friends_order_options' ); ?>
     26                    <?php
     27
     28                    /**
     29                     * Fires inside the members friends order options select input.
     30                     *
     31                     * @since BuddyPress (2.0.0)
     32                     */
     33                    do_action( 'bp_member_friends_order_options' ); ?>
    2734
    2835                </select>
     
    3946    // Home/My Friends
    4047    case 'my-friends' :
     48
     49        /**
     50         * Fires before the display of member friends content.
     51         *
     52         * @since BuddyPress (1.2.0)
     53         */
    4154        do_action( 'bp_before_member_friends_content' ); ?>
    4255
     
    4760        </div><!-- .members.friends -->
    4861
    49         <?php do_action( 'bp_after_member_friends_content' );
     62        <?php
     63
     64        /**
     65         * Fires after the display of member friends content.
     66         *
     67         * @since BuddyPress (1.2.0)
     68         */
     69        do_action( 'bp_after_member_friends_content' );
    5070        break;
    5171
Note: See TracChangeset for help on using the changeset viewer.