Not a developer? Go to MovableType.com

Documentation

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
}
Back