W3cubDocs

/WordPress

do_action( 'clean_site_cache', int $id, WP_Site $blog, string $domain_path_key )

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

Parameters

$id

(int) Blog ID.

$blog

(WP_Site) Site object.

$domain_path_key

(string) md5 hash of domain and path.

Source

File: wp-includes/ms-site.php

View on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_site_cache