wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_sitestats › WordPress Function

Odn/a
Przestarzałyn/a
› get_sitestats ( Brak parametrów )
Powrót:
  • (int[]) {
    Site and user count for the network.

    @type int $blogs Number of sites on the network.
    @type int $users Number of users on the network.
    }
Zdefiniowane na:
Codex:
Dziennik zmian:
  • MU

Gets the network's site and user counts.



Źródło

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

	return $stats;
}