wp_maybe_transition_site_statuses_on_update

SummerySummery

Triggers actions on site status updates.

Syntax

wp_maybe_transition_site_statuses_on_update( WP_Site $new_site, WP_Site|null $old_site = null )

ParametersParameters

$new_site

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

$old_site

(WP_Site|null) (Optional) If $new_site has been updated, this must be the previous state of that site.

Default value: null

SourceSource

File: wp-includes/ms-site.php


			

ChangelogChangelog

Changelog
Version Description
5.1.0 Introduced.
Scroll to Top