clean_network_cache action-hookWP 4.6.0

Fires immediately after a network has been removed from the object cache.

Usage

add_action( 'clean_network_cache', 'wp_kama_clean_network_cache_action' );

/**
 * Function for `clean_network_cache` action-hook.
 * 
 * @param int $id Network ID.
 *
 * @return void
 */
function wp_kama_clean_network_cache_action( $id ){

	// action...
}
$id(int)
Network ID.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

clean_network_cache()
clean_network_cache
wp-includes/ms-network.php 96
do_action( 'clean_network_cache', $id );

Where the hook is used in WordPress

Usage not found.