wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_dashboard_blog › WordPress Function

Desde
Obsoleto3.1.0
get_dashboard_blog ( Sem parâmetros )
Ver:
Retorna:
  • (WP_Site) Current site object.
Definido em:
Codex:
Log de mudanças:
  • MU

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.


Fonte

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