WordPress at a glance
function is not described

get_dashboard_blog() WP 3.0.0

Deprecated in 3.1.0. It is no longer supported and can be removed in future releases. Use get_site() instead.

Get the "dashboard blog", the blog where users without a blog edit their profile data. Dashboard blog functionality was removed in WordPress 3.1, replaced by the user admin.

  • See: get_site()

No Hooks.


WP_Site. Current site object.



Code of get dashboard blog: wp-includes/ms-deprecated.php WP 5.2.2

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 );