Function __global->wrap_add_ip_ban
Definitions
sources/submit.php
- Ban the specified IP address.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $ip | IP | No | No | required parameter | N/A | N/A | The IP address to ban |
| $descrip | LONG_TEXT | No | No | Blank (empty string) | N/A | N/A | Explanation for ban |
Preview
Code (PHP)
/**
* Ban the specified IP address.
*
* @param IP $ip The IP address to ban
* @param LONG_TEXT $descrip Explanation for ban
*/
function wrap_add_ip_ban(string $ip, string $descrip = '')
* Ban the specified IP address.
*
* @param IP $ip The IP address to ban
* @param LONG_TEXT $descrip Explanation for ban
*/
function wrap_add_ip_ban(string $ip, string $descrip = '')

