From c795b754eb7394e195bad90e2a34caf30b87db90 Mon Sep 17 00:00:00 2001 From: Enrico Battocchi Date: Tue, 8 Aug 2023 11:56:58 +0200 Subject: [PATCH] Add note to the "Alter the number of sitemap entries" section --- docs/features/xml-sitemaps/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/features/xml-sitemaps/api.md b/docs/features/xml-sitemaps/api.md index 9d723a3c..b2fdb4c6 100644 --- a/docs/features/xml-sitemaps/api.md +++ b/docs/features/xml-sitemaps/api.md @@ -163,6 +163,8 @@ add_filter( 'wpseo_xml_sitemap_post_url', 'sitemap_post_url', 10, 2 ); ```php /** * Alters the number of entries in each XML sitemap. + * + * Note that the number should be either lower than 100 or a multiple of 100 to avoid problems with the sitemap pagination. * * @return integer The maximum entries per sitemap. */