Assign a specified write panel to a role.
public static AssignToRole ( integer $customWritePanelId, string $roleName ) | ||
$customWritePanelId | integer | panel id |
$roleName | string | role name (see roles in wordpress) |
public static AssignToRole ( integer $customWritePanelId, string $roleName ) | ||
$customWritePanelId | integer | panel id |
$roleName | string | role name (see roles in wordpress) |