Returns an object containing various information relating to the current network.
Note: get_current_site() was inherited from MU, and is named based on the old terminology which spoke of multiple "blogs" on a "site". We now speak of multiple "sites" on a "network" instead, but some of the old terminology still lives on in some function names. This function returns information about the current network. To get information about the current site on the network, see get_current_blog_id() and get_blog_details().
<?php get_current_site(); ?>
<?php $current_site = get_current_site(); echo 'You are viewing ' . $current_site->site_name; ?>
get_current_site() is located in