Sitemap function doesn’t work since 10.0.67
-
Hi,
I use this function to add url to my post sitemap :
/** Filter to add extra URLs to the XML sitemap by type. * Only runs for the first page, not on all. * @param string $content String content to add, defaults to empty. */ add_action( 'rank_math/sitemap/{$type}_content', function() { return '<url> <loc>https://rankmath.com/some-custom-url/</loc> <lastmod>2020-06-10T20:20:20+00:00</lastmod> </url>'; });
But i can’t update from 1.0.66.1 to 10.0.67 because this function doesn’t work anymore.
Do you know which change I have to do ?
Thank you ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sitemap function doesn’t work since 10.0.67’ is closed to new replies.