handle_ham

This callback is invoked when a user re-classifies a comment from being spam to being ham.

Input Parameters

  • $cb - a reference to the current MT::Callback object handling this event.
  • $app - a reference to the MT::App object processing this request.
  • $thing - a reference to the MT::Comment or MT::TBPing being flagged as ham.

Return Value

None.

Example Handler

sub handle_spam {
    my ($cb, $app, $thing) = @_;
    # do something
}
This page was last updated on 2008-10-01, 16:59.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.