wpmu_upgrade_site
Fires after each site has been upgraded.
Usage
add_action( 'wpmu_upgrade_site', 'wp_kama_wpmu_upgrade_site_action' ); /** * Function for `wpmu_upgrade_site` action-hook. * * @param int $site_id The Site ID. * * @return void */ function wp_kama_wpmu_upgrade_site_action( $site_id ){ // action... }
- $site_id(int)
- The Site ID.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/network/upgrade.php
wp-admin/network/upgrade.php 122
do_action( 'wpmu_upgrade_site', $site_id );