Skip to content

Instantly share code, notes, and snippets.

@lukecav
Last active April 28, 2022 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukecav/e608b86c12a78a6ef1f698f2e28cdf84 to your computer and use it in GitHub Desktop.
Save lukecav/e608b86c12a78a6ef1f698f2e28cdf84 to your computer and use it in GitHub Desktop.
Disable DNS prefetch links on the front-end in WordPress
remove_action( 'wp_head', 'wp_resource_hints', 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment