update_network_cache
update_network_cache ( $networks )
Parameters:- (array) networks Array of network row objects.
Defined at: - Introduced in WordPress: 4.6.0
- Deprecated in WordPress: —
Description
Updates the network cache of given networks.Will add the networks in $networks to the cache. If network ID already exists
in the network cache then it will not be updated. The network is added to the
cache using the network group with the key using the ID of the networks.