Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
Purpose
This filter can be used to disable the Last Updated date that All in One SEO adds to the XML Sitemap index.
This only disables the Last Updated date on post type and taxonomy sitemaps. It doesn’t disable it for archives such as date and author.
Arguments (1)
- $disabled (boolean) – Whether the link format should be disabled.
Example code snippet
add_filter( 'aioseo_sitemap_lastmod_disable', '__return_true' );