Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_usergroup()

Description

Returns the user group corresponding to the $ref. A standard user group name is translated using $lang. A custom user group name is i18n translated.

Parameters

ColumnTypeDefaultDescription
$ref integer User group ID

Return

mixed False if not found, or the user group record if found.

This article was last updated 24th November 2020 18:05 Europe/London time based on the source file dated 10th November 2020 12:15 Europe/London time.