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

    r9708 r9814  
    1 <?php do_action( 'bp_before_member_messages_loop' ); ?>
     1<?php
     2
     3/**
     4 * Fires before the members messages loop.
     5 *
     6 * @since BuddyPress (1.2.0)
     7 */
     8do_action( 'bp_before_member_messages_loop' ); ?>
    29
    310<?php if ( bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) : ?>
     
    1522    </div><!-- .pagination -->
    1623
    17     <?php do_action( 'bp_after_member_messages_pagination' ); ?>
     24    <?php
    1825
    19     <?php do_action( 'bp_before_member_messages_threads' ); ?>
     26    /**
     27     * Fires after the members messages pagination display.
     28     *
     29     * @since BuddyPress (1.2.0)
     30     */
     31    do_action( 'bp_after_member_messages_pagination' ); ?>
     32
     33    <?php
     34
     35    /**
     36     * Fires before the members messages threads.
     37     *
     38     * @since BuddyPress (1.2.0)
     39     */
     40    do_action( 'bp_before_member_messages_threads' ); ?>
    2041
    2142    <form action="<?php echo bp_loggedin_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() ?>/bulk-manage/" method="post" id="messages-bulk-management">
     
    6283                        </td>
    6384
    64                         <?php do_action( 'bp_messages_inbox_list_item' ); ?>
     85                        <?php
     86
     87                        /**
     88                         * Fires inside the display of a member message inbox list item.
     89                         *
     90                         * @since BuddyPress (1.1.0)
     91                         */
     92                        do_action( 'bp_messages_inbox_list_item' ); ?>
    6593
    6694                        <td class="thread-options">
     
    88116    </form>
    89117
    90     <?php do_action( 'bp_after_member_messages_threads' ); ?>
     118    <?php
    91119
    92     <?php do_action( 'bp_after_member_messages_options' ); ?>
     120    /**
     121     * Fires after the members messages threads.
     122     *
     123     * @since BuddyPress (1.2.0)
     124     */
     125    do_action( 'bp_after_member_messages_threads' ); ?>
     126
     127    <?php
     128
     129    /**
     130     * Fires and displays member messages options.
     131     *
     132     * @since BuddyPress (1.2.0)
     133     */
     134    do_action( 'bp_after_member_messages_options' ); ?>
    93135
    94136<?php else: ?>
     
    100142<?php endif;?>
    101143
    102 <?php do_action( 'bp_after_member_messages_loop' ); ?>
     144<?php
     145
     146/**
     147 * Fires after the members messages loop.
     148 *
     149 * @since BuddyPress (1.2.0)
     150 */
     151do_action( 'bp_after_member_messages_loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.