Uses
Uses | Description |
---|---|
wp-includes/ms-site.php: clean_blog_cache() | Clean the blog cache |
Cleans the necessary caches after specific site data has been updated.
File: wp-includes/ms-site.php
function wp_maybe_clean_new_site_cache_on_update( $new_site, $old_site ) { if ( $old_site->domain !== $new_site->domain || $old_site->path !== $new_site->path ) { clean_blog_cache( $new_site ); } }
Version | Description |
---|---|
5.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_maybe_clean_new_site_cache_on_update