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

    r9604 r9814  
    11<div id="buddypress">
    22
    3     <?php do_action( 'bp_before_member_home_content' ); ?>
     3    <?php
     4
     5    /**
     6     * Fires before the display of member home content.
     7     *
     8     * @since BuddyPress (1.2.0)
     9     */
     10    do_action( 'bp_before_member_home_content' ); ?>
    411
    512    <div id="item-header" role="complementary">
     
    1522                <?php bp_get_displayed_user_nav(); ?>
    1623
    17                 <?php do_action( 'bp_member_options_nav' ); ?>
     24                <?php
     25
     26                /**
     27                 * Fires after the display of member options navigation.
     28                 *
     29                 * @since BuddyPress (1.2.4)
     30                 */
     31                do_action( 'bp_member_options_nav' ); ?>
    1832
    1933            </ul>
     
    2337    <div id="item-body" role="main">
    2438
    25         <?php do_action( 'bp_before_member_body' );
     39        <?php
     40
     41        /**
     42         * Fires before the display of member body content.
     43         *
     44         * @since BuddyPress (1.2.0)
     45         */
     46        do_action( 'bp_before_member_body' );
    2647
    2748        if ( bp_is_user_activity() || !bp_current_component() ) :
     
    5879        endif;
    5980
     81        /**
     82         * Fires after the display of member body content.
     83         *
     84         * @since BuddyPress (1.2.0)
     85         */
    6086        do_action( 'bp_after_member_body' ); ?>
    6187
    6288    </div><!-- #item-body -->
    6389
    64     <?php do_action( 'bp_after_member_home_content' ); ?>
     90    <?php
     91
     92    /**
     93     * Fires after the display of member home content.
     94     *
     95     * @since BuddyPress (1.2.0)
     96     */
     97    do_action( 'bp_after_member_home_content' ); ?>
    6598
    6699</div><!-- #buddypress -->
Note: See TracChangeset for help on using the changeset viewer.