wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_update_network_counts › WordPress Function

Depuis3.1.0
Dépréciéen/a
wp_update_network_counts ( $network_id = null )
Paramètres:
  • (int|null) $network_id ID of the network. Default is the current network.
    Requis: Non
    Défaut: null
Défini(e) dans:
Codex:
Changelog:
  • 4.8.0

Updates the network-wide counts for the current network.



Source

function wp_update_network_counts( $network_id = null ) {
	wp_update_network_user_counts( $network_id );
	wp_update_network_site_counts( $network_id );
}