Function: translate_level_to_role

translate_level_to_role( integer $level )

Translate user level to user role name.

Parameters

Name Type(s) Default Value Description
$level integer

User level.

Returns

string

User role name.

WordPress Developer Newsletter

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