Skip to:
Content

BuddyPress.org

Changeset 9452


Ignore:
Timestamp:
02/08/2015 11:14:46 PM (10 years ago)
Author:
tw2113
Message:

Adds and fixes hooks documentation for bp-groups-filters.php.

See #5943.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-filters.php

    r9351 r9452  
    9999
    100100    /**
    101      * Filter HTML elements allowed for a given context.
    102      *
    103      * @since BuddyPress (1.1.0)
     101     * Filters the HTML elements allowed for a given context.
     102     *
     103     * @since BuddyPress (1.2.0)
    104104     *
    105105     * @param string $allowed_tags Allowed tags, attributes, and/or entities.
     
    231231 */
    232232function groups_filter_forums_root_page_sql( $sql ) {
     233
     234    /**
     235     * Filters the forum directory's "last active" bbPress SQL query.
     236     *
     237     * This filter is used to prevent fetching information that is not used.
     238     *
     239     * @since BuddyPress (1.5.0)
     240     *
     241     * @param string $value SQL string to specify fetching just topic_id
     242     */
    233243    return apply_filters( 'groups_filter_bbpress_root_page_sql', 't.topic_id' );
    234244}
Note: See TracChangeset for help on using the changeset viewer.