Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_dashboard_blog [ WordPress Function ]

get_dashboard_blog ( No parameters )
Uses:
Returns:
  • (int)
Defined at:



Get the "dashboard blog", the blog where users without a blog edit their profile data.

Source


<?php
function get_dashboard_blog() {
    if ( 
$blog get_site_option'dashboard_blog' ) )
        return 
get_blog_details$blog );

    return 
get_blog_details$GLOBALS['current_site']->blog_id );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics