Skip to:
Content

BuddyPress.org


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

    r9604 r9814  
    2222                                <option value="unreplied"><?php _e( 'Unreplied', 'buddypress' ); ?></option>
    2323
    24                                 <?php do_action( 'bp_forums_directory_order_options' ); ?>
     24                                <?php
     25
     26                                /**
     27                                 * Fires inside the members forums order options select input.
     28                                 *
     29                                 * @since BuddyPress (1.2.0)
     30                                 */
     31                                do_action( 'bp_forums_directory_order_options' ); ?>
    2532
    2633                        </select>
    … …  
    3542
    3643else :
     44
     45        /**
     46         * Fires before the display of member forums content.
     47         *
     48         * @since BuddyPress (1.5.0)
     49         */
    3750        do_action( 'bp_before_member_forums_content' ); ?>
    3851
    … …  
    4356        </div>
    4457
    45         <?php do_action( 'bp_after_member_forums_content' ); ?>
     58        <?php
     59
     60        /**
     61         * Fires after the display of member forums content.
     62         *
     63         * @since BuddyPress (1.5.0)
     64         */
     65        do_action( 'bp_after_member_forums_content' ); ?>
    4666
    4767<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.