CodeExplorer comment_is_spam example
function akismet_update_alert( $response ) { return Akismet::
update_alert( $response );
}function akismet_verify_key( $key,
$ip = null
) { return Akismet::
verify_key( $key,
$ip );
}function akismet_get_user_roles( $user_id ) { return Akismet::
get_user_roles( $user_id );
}function akismet_result_spam( $approved ) { return Akismet::
comment_is_spam( $approved );
}function akismet_result_hold( $approved ) { return Akismet::
comment_needs_moderation( $approved );
}function akismet_get_user_comments_approved( $user_id,
$comment_author_email,
$comment_author,
$comment_author_url ) { return Akismet::
get_user_comments_approved( $user_id,
$comment_author_email,
$comment_author,
$comment_author_url );
}function akismet_update_comment_history( $comment_id,
$message,
$event = null
) { return Akismet::
update_comment_history( $comment_id,
$message,
$event );
}function akismet_get_comment_history( $comment_id ) {