Function __global->check_stopforumspam

Definitions

sources/antispam.php

  • Check the stopforumspam service to see if we need to block this user.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$username ?string No No Null N/A N/A Check this particular username that has just been supplied (null: none)
$email ?EMAIL No No Null N/A N/A Check this particular e-mail address that has just been supplied (null: none)

Preview

Code (PHP)

/**
 * Check the stopforumspam service to see if we need to block this user.
 *
 * @param  ?string $username Check this particular username that has just been supplied (null: none)
 * @param  ?EMAIL $email Check this particular e-mail address that has just been supplied (null: none)
 */

function check_stopforumspam(?string $username = null, ?string $email = null)