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-loop.php

    r9604 r9814  
    1 <?php do_action( 'bp_before_profile_loop_content' ); ?>
     1<?php
     2
     3/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
     4do_action( 'bp_before_profile_loop_content' ); ?>
    25
    36<?php if ( bp_has_profile() ) : ?>
     
    710        <?php if ( bp_profile_group_has_fields() ) : ?>
    811
    9             <?php do_action( 'bp_before_profile_field_content' ); ?>
     12            <?php
     13
     14            /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
     15            do_action( 'bp_before_profile_field_content' ); ?>
    1016
    1117            <div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
     
    2935                        <?php endif; ?>
    3036
    31                         <?php do_action( 'bp_profile_field_item' ); ?>
     37                        <?php
     38
     39                        /**
     40                         * Fires after the display of a field table row for profile data.
     41                         *
     42                         * @since BuddyPress (1.1.0)
     43                         */
     44                        do_action( 'bp_profile_field_item' ); ?>
    3245
    3346                    <?php endwhile; ?>
     
    3649            </div>
    3750
    38             <?php do_action( 'bp_after_profile_field_content' ); ?>
     51            <?php
     52
     53            /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
     54            do_action( 'bp_after_profile_field_content' ); ?>
    3955
    4056        <?php endif; ?>
     
    4258    <?php endwhile; ?>
    4359
    44     <?php do_action( 'bp_profile_field_buttons' ); ?>
     60    <?php
     61
     62    /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
     63    do_action( 'bp_profile_field_buttons' ); ?>
    4564
    4665<?php endif; ?>
    4766
    48 <?php do_action( 'bp_after_profile_loop_content' ); ?>
     67<?php
     68
     69/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
     70do_action( 'bp_after_profile_loop_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.