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/settings/capabilities.php

    r9604 r9814  
    1 <?php do_action( 'bp_before_member_settings_template' ); ?>
     1<?php
     2
     3/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
     4do_action( 'bp_before_member_settings_template' ); ?>
    25
    36<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/capabilities/'; ?>" name="account-capabilities-form" id="account-capabilities-form" class="standard-form" method="post">
    47
    5     <?php do_action( 'bp_members_capabilities_account_before_submit' ); ?>
     8    <?php
     9
     10    /**
     11     * Fires before the display of the submit button for user capabilities saving.
     12     *
     13     * @since BuddyPress (1.6.0)
     14     */
     15    do_action( 'bp_members_capabilities_account_before_submit' ); ?>
    616
    717    <label>
     
    1424    </div>
    1525
    16     <?php do_action( 'bp_members_capabilities_account_after_submit' ); ?>
     26    <?php
     27
     28    /**
     29     * Fires after the display of the submit button for user capabilities saving.
     30     *
     31     * @since BuddyPress (1.6.0)
     32     */
     33    do_action( 'bp_members_capabilities_account_after_submit' ); ?>
    1734
    1835    <?php wp_nonce_field( 'capabilities' ); ?>
     
    2037</form>
    2138
    22 <?php do_action( 'bp_after_member_settings_template' ); ?>
     39<?php
     40
     41/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
     42do_action( 'bp_after_member_settings_template' ); ?>
Note: See TracChangeset for help on using the changeset viewer.