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/common.php

    r6780 r7361  
    140140    $value = rtrim( $value, '/' );
    141141
    142     // Filter & return
     142    /**
     143     * Filters the sanitized slug value.
     144     *
     145     * @since 2.6.0 bbPress (r5364)
     146     *
     147     * @param string $value The sanitized slug.
     148     * @param string $slug  The original slug value.
     149     */
    143150    return apply_filters( 'bbp_sanitize_slug', $value, $slug );
    144151}
Note: See TracChangeset for help on using the changeset viewer.