Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php | apply_filters | 176 | /** * Filters the max number of pages before it is generated. * * Passing a non-null value will 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. * @param string $post_type Post type name. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int|null | $max_num_pages | The maximum number of pages. Default null. |
string | $post_type | Post type name. |