This action allows adding a tab content on the group page at the front end.
do_action('profile_magic_group_photos_tab_content',$user_id,$gid);
Simple example
function profile_magic_content_on_group_page($user_id,$gid) { //do something with the user id or group id here. } add_action('profile_magic_group_photos_tab_content', 'profile_magic_content_on_group_page');