WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get sitestats

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Gets the network's blog and user counts.

Usage

<?php get_sitestats() ?>

Parameters

This function does not accept any parameters

Return Value

$stats (array) 
Blog and user count for the network
  • $stats['blogs']
  • $stats['users']

Examples


Notes

Change Log

Since: MU

Source File

get_sitestats() is located in wp-includes/ms-functions.php

Related

 

See also index of Function Reference and index of Template Tags.