wphooks.info - clean_site_cache

clean_site_cache

(trunk - 5.0-alpha-43304)

The hook occurs in the following file:

wp-includes/ms-blogs.php:
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
	/**
	 * 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' );

	/**
	 * Fires after the blog details cache is cleared.
	 *
	 * @since 3.4.0
	 * @deprecated 4.9.0 Use clean_site_cache
	 *