wp_maybe_transition_site_statuses_on_update
wp_maybe_transition_site_statuses_on_update ( $new_site, $old_site = null )
Parameters:- (WP_Site) new_site The site object after the update.
- (WP_Site|null) old_site Optional. If $new_site has been updated, this must be the previous state of that site. Default null.
Defined at: - Introduced in WordPress: 5.1.0
- Deprecated in WordPress: —
Description
Triggers actions on site status updates.