原型

dismiss_core_update( object $update )

参数

$update (object) (Required)

返回值

(bool)  

源文件

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

<?php
...
function dismiss_core_update( $update ) {
	$dismissed = get_site_option( 'dismissed_update_core' );
	$dismissed[ $update->current . '|' . $update->locale ] = true;
	return update_site_option( 'dismissed_update_core', $dismissed );
}
...
?>

其他

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