wpseek.com
A WordPress-centric search engine for devs and theme authors



get_current_site_name › WordPress Function

Since3.0.0
Deprecated3.9.0
get_current_site_name ( $current_site )
Access:
  • private
Parameters:
  • (WP_Network) $current_site
    Required: Yes
Returns:
  • (WP_Network)
Defined at:
Codex:

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.


Source

function get_current_site_name( $current_site ) {
	_deprecated_function( __FUNCTION__, '3.9.0', 'get_current_site()' );
	return $current_site;
}