显示 1-12 个结果(共 26 个结果)

add_filter( 'wp_resource_hints', 'remove_dns_prefetch', 10, 2 ); function remove_dns_prefetch( $hints, $relation_type ) { if ( 'dns-prefetch' === $relation_type ) { return array_diff( wp_dependencies_unique_hosts(), $hints ); } return $hints; } preloader