Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_users_from_permission_lookup()

Description

Ability to get a list of users based on their permissions. See get_notification_users() for more information.

IMPORTANT: the lookup is done on an "all or nothing" basis.

Parameters

ColumnTypeDefaultDescription
$condition string|array A specific user type (e.g SYSTEM_ADMIN) OR an array of permissions

Return

array

This article was last updated 8th July 2020 11:35 Europe/London time based on the source file dated 7th July 2020 14:31 Europe/London time.