Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_usergroup_approvers()

Description

Returns an array of user groups who act as user request approvers to the user group supplied.
Uses config $usergroup_approval_mappings.

Parameters

ColumnTypeDefaultDescription
$usergroup int "" Subordinate user group who's approval user group we need to find.

Return

array Approval user group ids for supplied user group. Likely one value but its possible to have multiple approving groups.

This article was last updated 2nd October 2022 00:05 Europe/London time based on the source file dated 28th September 2022 20:05 Europe/London time.