WordPress开发者和主题制作者的搜索引擎



dismiss_core_update ›

Sincen/a
已弃用n/a
dismiss_core_update ( $update )
参数:
  • (object) $update
    Required: Yes
返回:
  • (bool)
定义在:
文档:

暂无描述



源码

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