Callback triggerd when entity is created. Entity can be of any type (user, object, annotation, message). Entities are extra attributes that doesn't cover by standard object, user, annotation, message table so you extend them using entity.

~~~
<?php
function my_component_init(){
ossn_register_callback('entity', 'created', 'my_component_cb');
}
function my_component_cb($callback, $type, $args){
//$args['guid']
//$args['owner_guid']
//$args['type']
//$args['subtype']
//$args['time_created']
}
~~~

Entity created