wpmu_upgrade_site action-hookWP 3.0.0

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
wpmu_upgrade_site
wp-admin/network/upgrade.php 122
do_action( 'wpmu_upgrade_site', $site_id );

Where the hook is used in WordPress

Usage not found.