Disable DNS prefetch in WP Rocket

Disable DNS prefetch in WP Rocket on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'pre_get_rocket_option_dns_prefetch', '__return_zero' );

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.