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

    r9604 r9814  
    3131    case 'inbox'   :
    3232    case 'sentbox' :
     33
     34        /**
     35         * Fires before the member messages content for inbox and sentbox.
     36         *
     37         * @since BuddyPress (1.2.0)
     38         */
    3339        do_action( 'bp_before_member_messages_content' ); ?>
    3440
     
    3743        </div><!-- .messages -->
    3844
    39         <?php do_action( 'bp_after_member_messages_content' );
     45        <?php
     46
     47        /**
     48         * Fires after the member messages content for inbox and sentbox.
     49         *
     50         * @since BuddyPress (1.2.0)
     51         */
     52        do_action( 'bp_after_member_messages_content' );
    4053        break;
    4154
     
    5265    // Sitewide Notices
    5366    case 'notices' :
     67
     68        /**
     69         * Fires before the member messages content for notices.
     70         *
     71         * @since BuddyPress (1.2.0)
     72         */
    5473        do_action( 'bp_before_member_messages_content' ); ?>
    5574
     
    5877        </div><!-- .messages -->
    5978
    60         <?php do_action( 'bp_after_member_messages_content' );
     79        <?php
     80
     81        /**
     82         * Fires after the member messages content for inbox and sentbox.
     83         *
     84         * @since BuddyPress (1.2.0)
     85         */
     86        do_action( 'bp_after_member_messages_content' );
    6187        break;
    6288
Note: See TracChangeset for help on using the changeset viewer.