bbp_validate_activation_role( string $to_validate = '' )
Validate the Forum role during activation
Description Description
This function exists simply for parity with registrations, and to maintain an intentional layer of abstraction from the more generic function it uses.
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. |