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



wp_sitemaps_users_pre_max_num_pages › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null )
Parametry:
  • (int|null) $max_num_pages The maximum number of pages. Default null.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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