On this page
do_action( 'clean_site_cache', string $id, WP_Site $blog, string $domain_path_key )
Fires immediately after a site has been removed from the object cache.
Parameters
$idstring-
Site ID as a numeric string.
$blogWP_Site-
Site object.
$domain_path_keystring-
md5 hash of domain and path.
Source
File: wp-includes/ms-site.php. View all references
do_action( 'clean_site_cache', $blog_id, $blog, $domain_path_key );
Related
Used By
| Used By | Description |
|---|---|
| clean_blog_cache() wp-includes/ms-site.php | Clean the blog cache |
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_site_cache