原型

undismiss_core_update( string $version, string $locale )

参数

$version (string) (Required)

$locale (string) (Required)

返回值

(bool)  

源文件

路径:wp-admin/includes/update.php

<?php
...
function undismiss_core_update( $version, $locale ) {
	$dismissed = get_site_option( 'dismissed_update_core' );
	$key = $version . '|' . $locale;
	if ( ! isset( $dismissed[$key] ) )
		return false;
	unset( $dismissed[$key] );
	return update_site_option( 'dismissed_update_core', $dismissed );
}
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/undismiss_core_update/