wpmu_current_site() - WordPress 函数参考中文文档

返回介绍

wpmu_current_site()

发布于 2017-09-11 字数1369 浏览 915 评论 0

Warning: This function has been deprecated.

Alert: 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.

wpmu_current_site()

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.


返回值

(object)


源代码

File: wp-includes/ms-load.php

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

更新日志

Version 描述
3.9.0 This function has been deprecated.
3.0.0 Introduced.

相关函数

Uses

  • wp-includes/functions.php:
    _deprecated_function()

User Contributed Notes

上一篇:wpmu_create_user()

下一篇:wpmu_delete_blog()

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!