Not a developer? Go to MovableType.com

Documentation

handle_spam

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

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 spam.

Return Value

None.

Example Handler

sub handle_ham {
    my ($cb, $app, $thing) = @_;
    # do something
}
Back