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

get_usergroups()

Description

Returns a list of user groups. The standard user groups are translated using $lang. Custom user groups are i18n translated.
Puts anything starting with 'General Staff Users' - in the English default names - at the top (e.g. General Staff).

Parameters

ColumnTypeDefaultDescription
$usepermissions boolean false Use permissions (user access)
$find string '' Search string
$id_name_pair_array boolean false Return an array of ID->name instead of full records

Return

array Matching user group records

This article was last updated 25th November 2020 07:35 Europe/London time based on the source file dated 10th November 2020 12:15 Europe/London time.