Triggers after comment is created.

~~~
<?php
function my_component_init(){
ossn_register_callback('comment', 'created', 'my_component_cb');
}
function my_component_cb($callback, $type, $params){
// $params[ id, value, subject_guid, owner_guid]
//$params['id'] is ossn comment id.
}
ossn_register_callback('ossn', 'init', 'my_component_init');
~~~

Comment created