Function: clean_network_cache

clean_network_cache( integer | array $ids )

Removes a network from the object cache.


Name Type(s) Default Value Description
$ids integer | array

Network ID or an array of network IDs to remove from cache.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.