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

    r9604 r9814  
    2222                <?php bp_activity_show_filters(); ?>
    2323
    24                 <?php do_action( 'bp_member_activity_filter_options' ); ?>
     24                <?php
     25
     26                /**
     27                 * Fires inside the select input for member activity filter options.
     28                 *
     29                 * @since BuddyPress (1.2.0)
     30                 */
     31                do_action( 'bp_member_activity_filter_options' ); ?>
    2532
    2633            </select>
     
    2936</div><!-- .item-list-tabs -->
    3037
    31 <?php do_action( 'bp_before_member_activity_post_form' ); ?>
     38<?php
     39
     40/**
     41 * Fires before the display of the member activity post form.
     42 *
     43 * @since BuddyPress (1.2.0)
     44 */
     45do_action( 'bp_before_member_activity_post_form' ); ?>
    3246
    3347<?php
     
    3549    bp_get_template_part( 'activity/post-form' );
    3650
     51/**
     52 * Fires after the display of the member activity post form.
     53 *
     54 * @since BuddyPress (1.2.0)
     55 */
    3756do_action( 'bp_after_member_activity_post_form' );
     57
     58/**
     59 * Fires before the display of the member activities list.
     60 *
     61 * @since BuddyPress (1.2.0)
     62 */
    3863do_action( 'bp_before_member_activity_content' ); ?>
    3964
     
    4469</div><!-- .activity -->
    4570
    46 <?php do_action( 'bp_after_member_activity_content' ); ?>
     71<?php
     72
     73/**
     74 * Fires after the display of the member activities list.
     75 *
     76 * @since BuddyPress (1.2.0)
     77 */
     78do_action( 'bp_after_member_activity_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.