apply_filters( 'role_has_cap', array $capabilities , string $cap , string $name )
Filters which capabilities a role has.
Parameters
- $capabilities
-
Array of role capabilities.
- $cap
-
Capability name.
- $name
-
Role name.
Source
Changelog
Version | Description |
---|---|
WP-2.0.0 | Introduced. |