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::Callbackobject handling this event. - $app - a reference to the
MT::Appobject processing this request. - $thing - a reference to the
MT::CommentorMT::TBPingbeing flagged as ham.
Return Value
None.
Example Handler
sub handle_spam {
my ($cb, $app, $thing) = @_;
# do something
}
This page is part of the Events and Callbacks in Movable Type
- Previous Junk Handling Callbacks
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.