W3cubDocs

/WordPress

dismiss_core_update( object $update )

Description

Parameters

$update

(object) (Required)

Return

(bool)

Source

File: wp-admin/includes/update.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 );
}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/dismiss_core_update