wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_sitemaps_posts_pre_max_num_pages › WordPress Filter Hooks
Since5.5.0
Deprecatedn/a
› apply_filters( 'wp_sitemaps_posts_pre_max_num_pages', null, $post_type )
Parameters: (2) |
|
Defined at: | |
Codex: |
Filters the max number of pages before it is generated.
Passing a non-null value will short-circuit the generation, returning that value instead.
Related Functions: wp_sitemaps_get_max_urls, wp_trash_post_comments, wp_set_post_tags, _wp_filter_post_meta_footnotes, wp_kses_post_deep, wp_untrash_post_comments