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:

Description

Triggers actions on site status updates.

Related Functions

wp_maybe_clean_new_site_cache_on_update, wp_maybe_update_network_site_counts_on_update, wp_transition_post_status, _transition_post_status, wp_transition_comment_status

Top Google Results

User discussions

wpseek mobile