wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sitemaps_users_pre_max_num_pages › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null )
Parameters:
  • (int|null) $max_num_pages The maximum number of pages. Default null.
    Required: Yes
Defined at:
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.





Source

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