Exclude the sitemap from being discoverable to robots.txt in Jetpack

Exclude the sitemap from being discoverable to robots.txt in Jetpack on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'jetpack_sitemap_include_in_robotstxt', '__return_false' );