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



dashboard_browser_nag_class ›

Since3.2.0
已弃用n/a
dashboard_browser_nag_class ( $classes )
参数:
  • (array) $classes
    Required: Yes
返回:
  • (array)
定义在:
文档:

暂无描述



源码

function dashboard_browser_nag_class( $classes ) {
	$response = wp_check_browser_version();

	if ( $response && $response['insecure'] ) {
		$classes[] = 'browser-insecure';
	}

	return $classes;
}