Filter hook 'wp_sitemaps_taxonomies_pre_url_list'

in WP Core File wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php at line 84

Description

Filters the taxonomies URL list before it is generated. Returning a non-null value will effectively short-circuit the generation, returning that value instead.

Occurrences

Filename Line Number
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php 84

Parameters

Type Name Description
array[]|null $url_list The URL list. Default null.
string $taxonomy Taxonomy name.
int $page_num Page of results.

PHP Doc

/**
		 * Filters the taxonomies URL list before it is generated.
		 *
		 * Returning a non-null value will effectively short-circuit the generation,
		 * returning that value instead.
		 *
		 * @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.
		 */