Function: get_current_site_name

get_current_site_name( object $current_site )

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

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

Parameters

Name Type(s) Default Value Description
$current_site object

Returns

object

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.