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/users/signups.php

    r7098 r7361  
    234234    }
    235235
    236     // Filter & return
     236    /**
     237     * Filters the validated signup role.
     238     *
     239     * @since 2.6.5
     240     *
     241     * @param string $retval The valid role ID if validation passes; otherwise, an empty string.
     242     * @param string $to_validate The role ID that was validated.
     243     */
    237244    return (string) apply_filters( 'bbp_validate_signup_role', $retval, $to_validate );
    238245}
Note: See TracChangeset for help on using the changeset viewer.