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



get_blog_count › WordPress Function

Od
Przestarzałyn/a
get_blog_count ( $network_id = null )
Parametry:
  • (int|null) $network_id ID of the network. Default is the current network.
    Wymagane: Nie
    Domyślny: null
Powrót:
  • (int) Number of active sites on the network.
Zdefiniowane na:
Codex:
Dziennik zmian:
  • 3.7.0
  • 4.8.0

Gets the number of active sites on the installation.

The count is cached and updated twice daily. This is not a live count.


Źródło

function get_blog_count( $network_id = null ) {
	return get_network_option( $network_id, 'blog_count' );
}