Disable DNS prefetch links in WordPress

Disable DNS prefetch links in WordPress on child sites.

Snippet Type

Execute on Child Sites

Snippet

remove_action( 'wp_head', 'wp_resource_hints', 2 );