Filter hook 'wp_sitemaps_users_pre_max_num_pages'
in WP Core File wp-includes/sitemaps/providers/class-wp-sitemaps-users.php at line 111
Description
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.
Occurrences
Filename |
Line Number |
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php |
111 |
Parameters
Type |
Name |
Description |
int|null |
$max_num_pages |
The maximum number of pages. Default null. |
PHP Doc
/**
* 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.
*
* @since 5.5.0
*
* @param int|null $max_num_pages The maximum number of pages. Default null.
*/