Group Page Tab

This action allows adding a tab on the group page at the front end.

 do_action('profile_magic_group_photos_tab',$user_id,$gid);

Simple example

function profile_magic_action_on_group_page($user_id,$gid)

{

//do something with the user id or group id here.

}

add_action('profile_magic_group_photos_tab', 'profile_magic_action_on_group_page');