dismiss_core_update()WP 2.7.0

Dismisses core update.

No Hooks.

Return

true|false.

Usage

dismiss_core_update( $update );
$update(object) (required)
-

Changelog

Since 2.7.0 Introduced.

dismiss_core_update() code WP 6.6.2

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 );
}