WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get current site name


This function has been deprecated since Version 3.9. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use get_current_site instead.

Contents

Description

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

Usage

<?php get_current_site_name$current_site ); ?>

Parameters

$current_site

Return Values

(Object) 
Returns $current_site object with site_name.

Source File

get_current_site_name() is located in wp-includes/ms-load.php.

Change Log

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.