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/admin/metaboxes.php

    r7360 r7361  
    8888    }
    8989
    90     // Filter & return
    91     return apply_filters( 'bbp_dashboard_at_a_glance', $elements, $r );
     90    /**
     91     * Filters the "at a glance" dashboard items.
     92     *
     93     * @since 2.6.0
     94     *
     95     * @param array $elements The existing "at a glance" dashboard items.
     96     * @param array $r        The statistics array.
     97     */
     98    return (array) apply_filters( 'bbp_dashboard_at_a_glance', $elements, $r );
    9299}
    93100
Note: See TracChangeset for help on using the changeset viewer.