dismiss_core_update( object $update ): bool

Dismisses core update.


Parameters

$update object Required

Top ↑

Return

bool


Top ↑

Source

File: wp-admin/includes/update.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.