Switch language

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




get_current_blog_id [ WordPress Function ]

get_current_blog_id ( No parameters )
Returns:
  • (int) Blog id
Defined at:



Retrieve the current blog id

Source


<?php
function get_current_blog_id() {
    global 
$blog_id;
    return 
absint($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