Akismet
Provides access to the Akismet API.
Constructors
Types
Functions
check Comment
Link copied to clipboard
fun checkComment(comment: AkismetComment, trueOnError: Boolean = false): Boolean
Content copied to clipboard
Comment Check.
execute Method
Link copied to clipboard
fun executeMethod(apiUrl: HttpUrl?, formBody: FormBody, trueOnError: Boolean = false): Boolean
Content copied to clipboard
Executes a call to an Akismet REST API method.
reset
Link copied to clipboard
fun reset()
Content copied to clipboard
Resets the debugHelp, errorMessage, httpStatusCode, isDiscard, isVerifiedKey, proTip, and response properties.
submit Ham
Link copied to clipboard
Submit Ham. (False Positives)
submit Spam
Link copied to clipboard
Submit Spam. (Missed Spam)
Properties
appUserAgent
Link copied to clipboard
errorMessage
Link copied to clipboard
httpStatusCode
Link copied to clipboard
isDiscard
Link copied to clipboard
Set to true
if Akismet has determined that the last checked comment is blatant spam, and you can safely discard it without saving it in any spam queue.
isVerifiedKey
Link copied to clipboard
Sources
jvm source
Link copied to clipboard