Elgg  Version 5.1
ban.php File Reference

Go to the source code of this file.


 $user_guids = (array) get_input('user_guids')
 Bulk ban users. More...
if(empty($user_guids)) $users
 $count = 0

Variable Documentation

$count = 0

Definition at line 24 of file ban.php.

$user_guids = (array) get_input('user_guids')

Bulk ban users.

Definition at line 6 of file ban.php.

if (empty($user_guids)) $users
Initial value:
'type' => 'user',
'guids' => $user_guids,
'limit' => false,
'batch' => true,
'batch_inc_offset' => false,
'metadata_name_value_pairs' => [
'banned' => 'no',
Bulk ban users.
Definition: ban.php:6
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
Definition: entities.php:504

Definition at line 12 of file ban.php.