after_db_upgrade
Fires on the next page load after a successful DB upgrade.
Usage
add_action( 'after_db_upgrade', 'wp_kama_after_db_upgrade_action' ); /** * Function for `after_db_upgrade` action-hook. * * @return void */ function wp_kama_after_db_upgrade_action(){ // action... }
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin.php
after_db_upgrade
wp-admin/admin.php 48
do_action( 'after_db_upgrade' );