Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/27/2017 05:04:31 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Tools: Add //Filter & return note for future discovery of missing filter documentation.

Also adjust some type-casting on filtered results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/filters.php

    r6431 r6438  
    342342 */
    343343function _bbp_has_forums_query( $args = array() ) {
     344
     345    // Filter & return
    344346    return apply_filters( 'bbp_has_forums_query', $args );
    345347}
     
    355357 */
    356358function _bbp_has_topics_query( $args = array() ) {
     359
     360    // Filter & return
    357361    return apply_filters( 'bbp_has_topics_query', $args );
    358362}
     
    368372 */
    369373function _bbp_has_replies_query( $args = array() ) {
     374
     375    // Filter & return
    370376    return apply_filters( 'bbp_has_replies_query', $args );
    371377}
Note: See TracChangeset for help on using the changeset viewer.