Function __global->is_unbannable_bot_ip

Definitions

sources/failure.php

  • Find if an IP is unbannable due to being a known bot-IP.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$ip IP No No required parameter N/A N/A The IP address

Returns

  • Whether it is unbannable
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find if an IP is unbannable due to being a known bot-IP.
 *
 * @param  IP $ip The IP address
 * @return boolean Whether it is unbannable
 */

function is_unbannable_bot_ip(string $ip) : bool