Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/23/2015 05:08:50 AM (9 years ago)
Author:
tw2113
Message:

Adds hooks documentation for the groups template files.

See #5948.

File:
1 edited

Legend:

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

    r9604 r9786  
    33        <li class="feed"><a href="<?php bp_group_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li>
    44
    5         <?php do_action( 'bp_group_activity_syndication_options' ); ?>
     5        <?php
     6
     7        /**
     8         * Fires inside the syndication options list, after the RSS option.
     9         *
     10         * @since BuddyPress (1.2.0)
     11         */
     12        do_action( 'bp_group_activity_syndication_options' ); ?>
    613
    714        <li id="activity-filter-select" class="last">
     
    1219                <?php bp_activity_show_filters( 'group' ); ?>
    1320
    14                 <?php do_action( 'bp_group_activity_filter_options' ); ?>
     21                <?php
     22
     23                /**
     24                 * Fires inside the select input for group activity filter options.
     25                 *
     26                 * @since BuddyPress (1.2.0)
     27                 */
     28                do_action( 'bp_group_activity_filter_options' ); ?>
    1529            </select>
    1630        </li>
     
    1832</div><!-- .item-list-tabs -->
    1933
    20 <?php do_action( 'bp_before_group_activity_post_form' ); ?>
     34<?php
     35
     36/**
     37 * Fires before the display of the group activity post form.
     38 *
     39 * @since BuddyPress (1.2.0)
     40 */
     41do_action( 'bp_before_group_activity_post_form' ); ?>
    2142
    2243<?php if ( is_user_logged_in() && bp_group_is_member() ) : ?>
     
    2647<?php endif; ?>
    2748
    28 <?php do_action( 'bp_after_group_activity_post_form' ); ?>
    29 <?php do_action( 'bp_before_group_activity_content' ); ?>
     49<?php
     50
     51/**
     52 * Fires after the display of the group activity post form.
     53 *
     54 * @since BuddyPress (1.2.0)
     55 */
     56do_action( 'bp_after_group_activity_post_form' ); ?>
     57<?php
     58
     59/**
     60 * Fires before the display of the group activities list.
     61 *
     62 * @since BuddyPress (1.2.0)
     63 */
     64do_action( 'bp_before_group_activity_content' ); ?>
    3065
    3166<div class="activity single-group" role="main">
     
    3570</div><!-- .activity.single-group -->
    3671
    37 <?php do_action( 'bp_after_group_activity_content' ); ?>
     72<?php
     73
     74/**
     75 * Fires after the display of the group activities list.
     76 *
     77 * @since BuddyPress (1.2.0)
     78 */
     79do_action( 'bp_after_group_activity_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.