Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2015 01:52:18 AM (9 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/profile/profile-wp.php

    r9604 r9814  
    1 <?php do_action( 'bp_before_profile_loop_content' ); ?>
     1<?php
     2
     3/**
     4 * Fires before the display of member profile loop content.
     5 *
     6 * @since BuddyPress (1.2.0)
     7 */
     8do_action( 'bp_before_profile_loop_content' ); ?>
    29
    310<?php $ud = get_userdata( bp_displayed_user_id() ); ?>
    411
    5 <?php do_action( 'bp_before_profile_field_content' ); ?>
     12<?php
     13
     14    /**
     15     * Fires before the display of member profile field content.
     16     *
     17     * @since BuddyPress (1.1.0)
     18     */
     19    do_action( 'bp_before_profile_field_content' ); ?>
    620
    721    <div class="bp-widget wp-profile">
     
    6781    </div>
    6882
    69 <?php do_action( 'bp_after_profile_field_content' ); ?>
     83<?php
    7084
    71 <?php do_action( 'bp_profile_field_buttons' ); ?>
     85/**
     86 * Fires after the display of member profile field content.
     87 *
     88 * @since BuddyPress (1.1.0)
     89 */
     90do_action( 'bp_after_profile_field_content' ); ?>
    7291
    73 <?php do_action( 'bp_after_profile_loop_content' ); ?>
     92<?php
     93
     94/**
     95 * Fires and displays the profile field buttons.
     96 *
     97 * @since BuddyPress (1.1.0)
     98 */
     99do_action( 'bp_profile_field_buttons' ); ?>
     100
     101<?php
     102
     103/**
     104 * Fires after the display of member profile loop content.
     105 *
     106 * @since BuddyPress (1.2.0)
     107 */
     108do_action( 'bp_after_profile_loop_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.