Switch language

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




get_sitestats [ WordPress Function ]

get_sitestats ( No parameters )
Uses:
Returns:
  • (array) Site and user count for the network.
Defined at:



Gets the network's site and user counts.

Source


<?php
function get_sitestats() {
    global 
$wpdb;

    
$stats = array(
        
'blogs' => get_blog_count(),
        
'users' => get_user_count(),
    );

    return 
$stats;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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