_core_updated_successfully хук-событиеWP 3.3.0

Fires after WordPress core has been successfully updated.

Использование

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(строка)
The current WordPress version.

Список изменений

С версии 3.3.0 Введена.

Где вызывается хук

update_core()
_core_updated_successfully
wp-admin/includes/update-core.php 1473
do_action( '_core_updated_successfully', $wp_version );

Где используется хук в WordPress

wp-admin/includes/admin-filters.php 143
add_action( '_core_updated_successfully', '_redirect_to_about_wordpress' );