wp-includes/ms-network.php:78Removes a network from the object cache.
$idsint|arrayOne hook fires while clean_network_cache() runs, in this order:
Fires immediately after a network has been removed from the object cache.
function clean_network_cache( $ids ) { global $_wp_suspend_cache_invalidation; if ( ! empty( $_wp_suspend_cache_invalidation ) ) { return; } $network_ids = (array) $ids; wp_cache_delete_multiple( $network_ids, 'networks' ); foreach ( $network_ids as $id ) { /** * Fires immediately after a network has been removed from the object cache. * * @since 4.6.0 * * @param int $id Network ID. */ do_action( 'clean_network_cache', $id ); } wp_cache_set_last_changed( 'networks' );}Introduced in 4.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/ms-network.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.