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



wpmu_current_site ›

Since3.0.0
已弃用3.9.0
wpmu_current_site ( 没有参数 )
访问:
  • private
返回:
  • (object)
定义在:
文档:

This deprecated function managed much of the site and network loading in multisite.

The current bootstrap code is now responsible for parsing the site and network load as well as setting the global $current_site object.



源码

function wpmu_current_site() {
	global $current_site;
	_deprecated_function( __FUNCTION__, '3.9.0' );
	return $current_site;
}