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

    r9604 r9814  
    1 <?php do_action( 'bp_before_notices_loop' ); ?>
     1<?php
     2
     3/**
     4 * Fires before the members notices loop.
     5 *
     6 * @since BuddyPress (1.2.0)
     7 */
     8do_action( 'bp_before_notices_loop' ); ?>
    29
    310<?php if ( bp_has_message_threads() ) : ?>
     
    1522    </div><!-- .pagination -->
    1623
    17     <?php do_action( 'bp_after_notices_pagination' ); ?>
    18     <?php do_action( 'bp_before_notices' ); ?>
     24    <?php
     25
     26    /**
     27     * Fires after the members notices pagination display.
     28     *
     29     * @since BuddyPress (1.2.0)
     30     */
     31    do_action( 'bp_after_notices_pagination' ); ?>
     32    <?php
     33
     34    /**
     35     * Fires before the members notice items.
     36     *
     37     * @since BuddyPress (1.2.0)
     38     */
     39    do_action( 'bp_before_notices' ); ?>
    1940
    2041    <table id="message-threads" class="messages-notices">
     
    3758                </td>
    3859
    39                 <?php do_action( 'bp_notices_list_item' ); ?>
     60                <?php
     61
     62                /**
     63                 * Fires inside the display of a member notice list item.
     64                 *
     65                 * @since BuddyPress (1.2.0)
     66                 */
     67                do_action( 'bp_notices_list_item' ); ?>
    4068
    4169                <td width="10%">
     
    4775    </table><!-- #message-threads -->
    4876
    49     <?php do_action( 'bp_after_notices' ); ?>
     77    <?php
     78
     79    /**
     80     * Fires after the members notice items.
     81     *
     82     * @since BuddyPress (1.2.0)
     83     */
     84    do_action( 'bp_after_notices' ); ?>
    5085
    5186<?php else: ?>
     
    5792<?php endif;?>
    5893
    59 <?php do_action( 'bp_after_notices_loop' ); ?>
     94<?php
     95
     96/**
     97 * Fires after the members notices loop.
     98 *
     99 * @since BuddyPress (1.2.0)
     100 */
     101do_action( 'bp_after_notices_loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.