wordpress / latest / hooks / clean_site_cache.html

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

$id string
Site ID as a numeric string.
$blog WP_Site
Site object.
$domain_path_key string
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 );

Used By

Used By Description

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