wp_update_network_site_counts

SummerySummery

Update the network-wide site count.

Syntax

wp_update_network_site_counts( int|null $network_id = null )

ParametersParameters

$network_id

(int|null) (Optional) ID of the network. Default is the current network.

Default value: null

SourceSource

File: wp-includes/ms-functions.php


			

ChangelogChangelog

Changelog
Version Description
4.8.0 The $network_id parameter has been added.
3.7.0 Introduced.
Scroll to Top