wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_sitemaps_users_pre_max_num_pages › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null )
Parameter:
  • (int|null) $max_num_pages The maximum number of pages. Default null.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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