Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
This filter can be used to filter the entries that are included in the RSS sitemap/feed.
Parameters (1)
$entries (array)
The sitemap entries.
Example code snippet
The code snippet below can be used to change the time zone offset in the publish date of the sitemap entries. This can be useful for when a platform requires the date to be formatted to a specific timezone (e.g. Yandex News/Zen/Дзéн).
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |
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.