Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | apply_filters | 165 | /** * Filters the max number of pages for a taxonomy sitemap 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 $taxonomy Taxonomy name. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int|null | $max_num_pages | The maximum number of pages. Default null. |
string | $taxonomy | Taxonomy name. |