Fires on the next page load after a successful DB upgrade.
wp-admin/admin.php:48file scope /** * Fires on the next page load after a successful DB upgrade. * * @since 2.8.0 */ do_action( 'after_db_upgrade' ); } elseif ( ! wp_doing_ajax() && empty( $_POST ) && (int) get_option( 'db_version' ) !== $wp_db_version) { if ( ! is_multisite() ) {Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.