MainWP Community

Disable images in XML Sitemap in All in One SEO Pack

Disable images in the XML sitemap if using All in One SEO Pack on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'aioseo_include_images_in_sitemap', '__return_false' );
1 Like