_core_updated_successfully
Fires after WordPress core has been successfully updated.
Usage
add_action( '_core_updated_successfully', 'wp_kama__core_updated_successfully_action' ); /** * Function for `_core_updated_successfully` action-hook. * * @param string $wp_version The current WordPress version. * * @return void */ function wp_kama__core_updated_successfully_action( $wp_version ){ // action... }
- $wp_version(string)
- The current WordPress version.
Changelog
Since 3.3.0 | Introduced. |
Where the hook is called
_core_updated_successfully
wp-admin/includes/update-core.php 1510
do_action( '_core_updated_successfully', $wp_version );
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 144
add_action( '_core_updated_successfully', '_redirect_to_about_wordpress' );