WordPress开发者和主题制作者的搜索引擎



get_current_site_name ›

Since3.0.0
已弃用3.9.0
get_current_site_name ( $current_site )
访问:
  • private
参数:
  • (object) $current_site
    Required: Yes
返回:
  • (object)
定义在:
文档:

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.



源码

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