wp_update_site WordPress Action Hook

The wp_update_site hook is called after a site has been updated. The hook takes two arguments: the first argument is the ID of the site being updated, and the second argument is the data that was updated.

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.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.