W3cubDocs

/WordPress

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

Fires once a site has been updated in the database.

Parameters

$new_site

(WP_Site) New site object.

$old_site

(WP_Site) Old site object.

Source

File: wp-includes/ms-site.php

View on Trac

Changelog

Version Description
5.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_update_site