函数原型
get_current_site(): WP_Network
函数描述
Gets the current network.
是否弃用
未弃用
函数参数
无
函数返回值
函数位置
File: wp-includes/ms-functions.php.
函数源码
function get_current_site() {
global $current_site;
return $current_site;
}
源码链接
变更日志
Changelog| Version | Description |
|---|
| MU (3.0.0) | Introduced. |