Allow you to add more gender types in your component.
~~~
<?php
function my_component_init(){
ossn_add_hook('user', 'gender:types', 'my_component_hook');
}
function my_component_hook($hook, $type, $genders, $instance){
$genders[] = 'new_gender_key';
return $genders;
}
ossn_register_callback('ossn', 'init', 'my_component_init');
~~~
After adding `new_gender_key` you need to add this also in language file
> 'new_gender_key' => 'New Gender',