A callback triggered when annotation is created. Useful when you wanted to check if some comment is added (comment is example).
~~~
<?php
function my_component_init(){
ossn_register_callback('annotations', 'created', 'my_component_cb');
}
function my_component_cb($callback, $type, $params){
//$params['value'] , $params['subject_guid']
//$params['owner_guid'] ,$params['type'] $params['annotation_guid']
}
ossn_register_callback('ossn', 'init', 'my_component_init');
~~~