wpseek.com
A WordPress-centric search engine for devs and theme authors



dismiss_core_update › WordPress Function

Since2.7.0
Deprecatedn/a
dismiss_core_update ( $update )
Parameters:
  • (object) $update
    Required: Yes
Returns:
  • (bool)
Defined at:
Codex:

Dismisses core update.



Source

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