wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_sitemaps_taxonomies_pre_max_num_pages › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
› apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy )
Parametri: (2)
  • () max_num_pages The maximum number of pages. Default null.
    Richiesto: Sì
  • () taxonomy Taxonomy name.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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