Categories
Blog Code Snippets PHP Wordpress

Remove DNS-Prefetch Links on WordPress Site Without Plugin

// Remove dns-prefetch Link from WordPress Head (Frontend)
remove_action( 'wp_head', 'wp_resource_hints', 2 );