do_action( ‘wp_update_site’, WP_Site $new_site, WP_Site $old_site )

In this article

Fires once a site has been updated in the database.

Parameters

$new_siteWP_Site
New site object.
$old_siteWP_Site
Old site object.

Source

do_action( 'wp_update_site', $new_site, $old_site );

Changelog

VersionDescription
5.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.