Function __global->inject_action_spamcheck

Definitions

sources/antispam.php

  • Should be called when an action happens that results in content submission.Does a spammer check that is not page level (i.e. it does a deep scan).Don't call this for less important stuff like quiz entries or newsletter subscription, it's too intensive on 3rd party resources.Those will be picked up by the page level check if it is a POST request.Do use it for anything that will result in publicly viewed content, or outbound e-mails.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

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