Role
in package
Table of Contents
- $capabilities : array<string|int, mixed>
- $description : string
- $name : string
- __construct() : mixed
- add() : mixed
- Creates new WPRole.
- getCapabilities() : array<string|int, mixed>
- getDescription() : string
- getName() : string
Properties
$capabilities
public
array<string|int, mixed>
$capabilities
$description
public
string
$description
$name
public
string
$name
Methods
__construct()
public
__construct(array<string|int, mixed> $atts) : mixed
Parameters
- $atts : array<string|int, mixed>
Return values
mixed —add()
Creates new WPRole.
public
add() : mixed
Return values
mixed —getCapabilities()
public
getCapabilities() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDescription()
public
getDescription() : string
Return values
string —getName()
public
getName() : string