wp_maybe_clean_new_site_cache_on_update

SummerySummery

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

Syntax

wp_maybe_clean_new_site_cache_on_update( WP_Site $new_site, WP_Site $old_site )

ParametersParameters

$new_site

(WP_Site) (Required) The site object after the update.

$old_site

(WP_Site) (Required) The site obejct prior to the update.

SourceSource

File: wp-includes/ms-site.php


			

ChangelogChangelog

Changelog
Version Description
5.1.0 Introduced.
Scroll to Top