How to add/remove user role in wordpress

For role add use below function

$aRole = "Your role name";
$aDisplayName = "Role display name";
$aCapabilities = array();
add_role( $aRole, $aDisplayName, $aCapabilities );

For role remove user below function

$aRole = "Your role name";
remove_role( $aRole );
Share on Google+Share on FacebookTweet about this on TwitterEmail this to someone