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



wp_sitemaps_taxonomies_pre_max_num_pages › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy )
Parametry: (2)
  • (int|null) $max_num_pages The maximum number of pages. Default null.
    Wymagane: Tak
  • (string) $taxonomy Taxonomy name.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the max number of pages for a taxonomy sitemap before it is generated.

Passing a non-null value will short-circuit the generation, returning that value instead.





Źródło

$max_num_pages = apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy );