deleteUsers (function)
Last updated: Fri, Jan 13, 2023 7:21 am
Return to Knowledgebase
Purpose
Deletes multiple users
Location
users/helpers/users.php
Version Information
First Introduced |
v2.5.0 |
Parameters
# |
Parameter |
Data Type |
Required |
Description |
1 |
$users |
array |
Yes |
An array of user ids |
Returns
Data Type |
Description of Returned Data |
int |
Returns the number of users deleted. |
Example
deleteUsers($users)
Further Documentation:
Note this is a very old function that does not have a lot of practical uses. It expects you to pass an array of user ids that need to be deleted.
deleteUsers([5,17,24]);