This filter can be used to advertise the translated versions of a term so that these can be included in the multilingual sitemap of AIOSEO.

Parameters (3)

$entry (array)
The sitemap entry data.

$termId (int)
The term ID.

$taxonomy (string)
The taxonomy.

Example code snippet

The code snippet below can be used to add translated versions for a specific term sitemap entry.




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.