WPDev.one
Core Function
View Source on Trac ↗

wp_maybe_clean_new_site_cache_on_update()

wp_maybe_clean_new_site_cache_on_update( mixed $new_site, mixed $old_site )

Cleans the necessary caches after specific site data has been updated.

Parameters 2 required

Name / Type Description
$new_site
WP_Site

The site object after the update.

Required
$old_site
WP_Site

The site object prior to the update.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
5.1.0
Source File
wp-includes/ms-site.php
Advertisement