Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/16/2025 11:04:14 PM (3 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: Document some filters.

This commit improves the code documentation of several filters across the codebase.

Props johnjamesjacoby, narenin, sirlouen.

In trunk, for 2.7.

See #3110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/shortcodes.php

    r7357 r7361  
    173173        $output = ob_get_clean();
    174174
    175         // Filter & return
     175        /**
     176         * Filters the contents of the output buffer before returning.
     177         *
     178         * @since 2.0.0 bbPress (r3079)
     179         *
     180         * @param string $output     The contents of the output buffer.
     181         * @param string $query_name The query name used for this output.
     182         */
    176183        return apply_filters( 'bbp_display_shortcode', $output, $query_name );
    177184    }
Note: See TracChangeset for help on using the changeset viewer.