On this page
apply_filters( 'wp_sitemaps_taxonomies_pre_url_list', array[]|null $url_list, string $taxonomy, int $page_num )
Filters the taxonomies URL list before it is generated.
Description
Returning a non-null value will effectively short-circuit the generation, returning that value instead.
Parameters
$url_listarray[]|null-
The URL list. Default null.
$taxonomystring-
Taxonomy name.
$page_numint-
Page of results.
Source
File: wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php. View all references
$url_list = apply_filters(
'wp_sitemaps_taxonomies_pre_url_list',
null,
$taxonomy,
$page_num
);
Related
Used By
| Used By | Description |
|---|---|
| WP_Sitemaps_Taxonomies::get_url_list() wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | Gets a URL list for a taxonomy sitemap. |
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_taxonomies_pre_url_list