wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_sitemaps_max_urls › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type )
Parameter: (2)
  • (int) $max_urls The maximum number of URLs included in a sitemap. Default 2000.
    Erforderlich: Ja
  • (string) $object_type Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').
    Erforderlich: Ja
Definiert in:
Codex:

Filters the maximum number of URLs displayed on a sitemap.





Quellcode

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