get_dashboard_blog()
最后更新于:2021-11-26 09:04:36
get_dashboard_blog()Get the “dashboard blog”, the blog where users without a blog edit their profile data.
响应
(GC_Site) Current site object.
源文件
文件: gc-includes/ms-deprecated.php
function get_dashboard_blog() {
_deprecated_function( __FUNCTION__, '3.1.0', 'get_site()' );
if ( $blog = get_site_option( 'dashboard_blog' ) ) {
return get_site( $blog );
}
return get_site( get_network()->site_id );
}