Function: remove_role

remove_role( string $role )

Remove role, if it exists.

Parameters

Name Type(s) Default Value Description
$role string

Role name.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.