wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_sitemaps_max_urls › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type )
Parametry: (2)
  • (int) $max_urls The maximum number of URLs included in a sitemap. Default 2000.
    Wymagane: Tak
  • (string) $object_type Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the maximum number of URLs displayed on a sitemap.





Źródło

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