GB_User_Roles::remove_cap
Remove capability from role.
Signature
public function remove_cap(string
$role,
string
$cap )
Parameters
$role
— string
Role name.$cap
— string
Capability name.
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
1187 | 12 | error | Method name "GB_User_Roles::remove_cap" is not in camel caps format |
1189 | 9 | error | Inline control structures are not allowed |
1193 | 9 | error | Inline control structures are not allowed |