Filters the maximum number of URLs displayed on a sitemap.
Parameters
$max_urlsint- The maximum number of URLs included in a sitemap. Default 2000.
$object_typestring- Object type for sitemap to be filtered (e.g.
'post','term','user').
Source
return apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type );
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.