apply_filters( 'role_has_cap', bool[] $capabilities , string $cap , string $name )
Filters which capabilities a role has.
Description Description
Parameters Parameters
- $capabilities
-
(bool[]) Associative array of capabilities for the role.
- $cap
-
(string) Capability name.
- $name
-
(string) Role name.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |