Filters the maximum number of URLs displayed on a sitemap.
$max_urlsint
$object_typestring
'post', 'term', 'user').return apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type );
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_max_urls