WordPress.org

Ready to get started?Download WordPress

Codex

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

Function Reference/get current site

Contents

Description

Gets the current site based on the value of the $current_site global variable.

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.