wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sitemaps_max_urls › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type )
Parameters: (2)
  • (int) $max_urls The maximum number of URLs included in a sitemap. Default 2000.
    Required: Yes
  • (string) $object_type Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').
    Required: Yes
Defined at:
Codex:

Filters the maximum number of URLs displayed on a sitemap.





Source

return apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type );