wphooks.info - clean_site_cache

clean_site_cache

The hook occurs in the following file:

wp-includes/ms-blogs.php:
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
	/**
	 * Fires immediately after a site has been removed from the object cache.
	 *
	 * @since 4.6.0
	 *
	 * @param int     $id              Blog ID.
	 * @param WP_Site $blog            Site object.
	 * @param string  $domain_path_key md5 hash of domain and path.
	 */
	do_action( 'clean_site_cache', $blog_id, $blog, $domain_path_key );

	wp_cache_set( 'last_changed', microtime(), 'sites' );
}

/**
 * Cleans the site details cache for a site.
 *
 * @since 4.7.4
 *