Submit spam, his call is for submitting comments that weren't marked as spam but should have been.
public static submitSpam ( string $userIp, string $userAgent, string $content, string $author = null, string $email = null, string $url = null, string $permalink = null, string $type = null, string $referrer = null, array $others = null ) : boolean | ||
$userIp | string | IP address of the comment submitter. |
$userAgent | string | User agent information. |
$content | string | The content that was submitted. |
$author | string | Submitted name with the comment. |
string | Submitted email address. | |
$url | string | Commenter URL. |
$permalink | string | The permanent location of the entry the comment was submitted to. |
$type | string | May be blank, comment, trackback, pingback, or a made up value like "registration". |
$referrer | string | The content of the HTTP_REFERER header should be sent here. |
$others | array | Other data (the variables from $_SERVER). |
Résultat | boolean | If everything went fine true will be returned, otherwise an exception will be triggered. |