A WordPress-centric search engine for devs and theme authors



dismiss_core_update ›

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

No description yet.



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