WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_sitemaps_users_pre_max_num_pages

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php apply_filters 111 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
int|null $max_num_pages The maximum number of pages. Default null.