bbp_validate_registration_role( string $to_validate = '' )
Validate the Forum role during the registration process
Description Description
Parameters Parameters
- $to_validate
-
(Optional) A well-formed (string) role ID to validate
Default value: ''
Return Return
(string) A valid role ID, or empty string on error
Source Source
File: includes/users/signups.php
Changelog Changelog
Version | Description |
---|---|
2.6.5 | Introduced. |