get_current_site_name

DeprecatedDeprecated

This function has been deprecated. Use get_current_site() instead.

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

This deprecated function formerly set the site_name property of the $current_site object.

Syntax

get_current_site_name( object $current_site )

DescriptionDescription

This function simply returns the object, as before. The bootstrap takes care of setting site_name.

ParametersParameters

$current_site

(object) (Required)

ReturnReturn

(object)

SourceSource

File: wp-includes/ms-load.php


			

ChangelogChangelog

Changelog
Version Description
3.9.0 Use get_current_site() instead.
3.0.0 Introduced.
Scroll to Top