dismiss_core_update

Advertisement

Summery Summery

Dismisses core update.

Syntax Syntax

dismiss_core_update( object $update )

Parameters Parameters

$update

(Required)

Return Return

(bool)

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply