Change default s.w.org dns-prefetch resource hint value
var_export( $hints ); gave me array ( 0 => ‘https://s.w.org/images/core/emoji/2.4/svg/’, ) so that means the array key is not s.w.org but https://s.w.org/images/core/emoji/2.4/svg/. Changing the function and using the key of the array with the full url did remove the s.w.org hint while still letting me use resource hints. function resource_hints( $hints, $relation_type ) { if … Read more