wphooks.info - clean_site_cache

clean_site_cache

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/ms-blogs.php:
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
	/**
	 * 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
	 *