apply_filters( 'wp_sitemaps_taxonomies_pre_url_list', array[]|null $url_list, string $taxonomy, int $page_num )
- Since
- 5.5.0
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.
Fired at · 1
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php:84WP_Sitemaps_Taxonomies::get_url_list()
Source
View on Trac ↗View on GitHub ↗
78 * @since 5.5.079 *80 * @param array[]|null $url_list The URL list. Default null.81 * @param string $taxonomy Taxonomy name.82 * @param int $page_num Page of results.83 */84 $url_list = apply_filters(85 'wp_sitemaps_taxonomies_pre_url_list',86 null,87 $taxonomy,88 $page_num89 );90
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.