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
* @since 5.5.0 * * @param array[]|null $url_list The URL list. Default null. * @param string $taxonomy Taxonomy name. * @param int $page_num Page of results. */ $url_list = apply_filters( 'wp_sitemaps_taxonomies_pre_url_list', null, $taxonomy, $page_num );History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 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.