WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get current site

Description

Gets the current network based on the value of the $current_site global variable. Note that the terminology of "site" used in the function and variable name is old.

Usage

<?php get_current_site(); ?>

Parameters

None

Return Values

(Object) 
Returns current site object.

Source File

get_current_site() is located in wp-includes/ms-functions.php.

See also

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.