How could I access an usually word-press method as example $this->get_current_site(); inside of a class?
get_current_site() is a (globally accessible) function (located in ms-functions.php), it's not a class method, so simply call it it by its name like you would do with any other function.
$currentSite = get_current_site();
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
7 months ago