Navigation

Search

log_ban

Description

Log the current user in the ban logs.

Syntax

void log_ban ([array $ban_ids[, string $email]])



Parameter $ban_ids

Expected type: Array of Integers
Description: An array of specific ban IDs to increase the hit counter on



Parameter $email

Expected type: String
Description: The email address that triggered the ban (if they're not a guest and this isn't specified, the user's email address will be logged)


Notes

  • Increments the hit counters for the specified ban IDs (if any.)
View all versions of this function