wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_sitemaps_taxonomies_pre_max_num_pages › Les Filtres WordPress

Depuis5.5.0
Dépréciéen/a
apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy )
Paramètres: (2)
  • (int|null) $max_num_pages The maximum number of pages. Default null.
    Requis: Oui
  • (string) $taxonomy Taxonomy name.
    Requis: Oui
Défini(e) dans:
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.





Source

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