Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/17/2015 03:31:35 AM (9 years ago)
Author:
tw2113
Message:

Adds hooks documentation for the activity template files.

See #5948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/comment.php

    r9604 r9762  
    1313?>
    1414
    15 <?php do_action( 'bp_before_activity_comment' ); ?>
     15<?php
     16
     17/**
     18 * Fires before the display of an activity comment.
     19 *
     20 * @since BuddyPress (1.5.0)
     21 */
     22do_action( 'bp_before_activity_comment' ); ?>
    1623
    1724<li id="acomment-<?php bp_activity_comment_id(); ?>">
     
    4552        <?php endif; ?>
    4653
    47         <?php do_action( 'bp_activity_comment_options' ); ?>
     54        <?php
     55
     56        /**
     57         * Fires after the defualt comment action options display.
     58         *
     59         * @since BuddyPress (1.6.0)
     60         */
     61        do_action( 'bp_activity_comment_options' ); ?>
    4862
    4963    </div>
     
    5266</li>
    5367
    54 <?php do_action( 'bp_after_activity_comment' ); ?>
     68<?php
     69
     70/**
     71 * Fires after the display of an activity comment.
     72 *
     73 * @since BuddyPress (1.5.0)
     74 */
     75do_action( 'bp_after_activity_comment' ); ?>
Note: See TracChangeset for help on using the changeset viewer.