Filter Hook – user_profile_user_relationship

You can add your own relations by filter hook as following

function user_profile_user_relationship($relations){
  
  $relations['new_relations'] = array(
                'title'=>__('New relations', USER_PROFILE_TEXTDOMAIN),
                'icon'=>'<i class="fa fa-facebook"></i>',
                );	
  
  return $relations;
  
  }
  
add_filter('user_profile_user_relationship','user_profile_user_relationship');