dismiss_core_update() –

You appear to be a bot. Output may be restricted

Description

Dismisses core update.

Usage

$bool = dismiss_core_update( $update );

Parameters

$update
( object ) required

Returns

bool

Source

File name: wordpress/wp-admin/includes/update.php
Lines:

1 to 5 of 5
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 );
}
 

 View on GitHub View on Trac