GB_User_Roles::is_role
Whether role name is currently in the list of available roles.
Signature
public function is_role(string
$role )
Parameters
$role
— string
Role name to look up.
Returns
- bool
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
1238 | 12 | error | Method name "GB_User_Roles::is_role" is not in camel caps format |