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



wp_sitemaps_users_pre_max_num_pages › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null )
Parametri:
  • (int|null) $max_num_pages The maximum number of pages. Default null.
    Richiesto:
Definito a:
Codex:

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

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





Sorgenti

$max_num_pages = apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null );