AkismetService
interface AkismetService (View source)
Describes TijsVerkoyen\Akismet\Akismet
Methods
public
bool
isSpam($content, $author = null, $email = null, $url = null, $permalink = null, $type = null)
Check if the comment is spam or not This is basically the core of everything. This call takes a number of arguments and characteristics about the submitted content and then returns a thumbs up or thumbs down.
Details
bool
isSpam($content, $author = null, $email = null, $url = null, $permalink = null, $type = null)
Check if the comment is spam or not This is basically the core of everything. This call takes a number of arguments and characteristics about the submitted content and then returns a thumbs up or thumbs down.
Almost everything is optional, but performance can drop dramatically if you exclude certain elements. REMARK: If you are having trouble triggering you can send "viagra-test-123" as the author and it will trigger a true response, always.