aioseo_sitemap_lastmod_disable

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)

  1. $disabled (boolean) – Whether the link format should be disabled.

Example code snippet

Implementation

Need help using our code snippets? Checkout our documentation on “How do I use your API code examples?“.

We recommend using the WPCode plugin for safe and secure implementation. WPCode performs multiple sanitization tests before activating the snippets, ensuring the safety of your website.