WordPress at a glance
filter is not described

wp_sitemaps_taxonomies_pre_url_list filter-hook . WP 5.5.0

Filters the taxonomies URL list before it is generated.

Passing a non-null value will effectively short-circuit the generation, returning that value instead.

Usage

add_filter( 'wp_sitemaps_taxonomies_pre_url_list', 'filter_function_name_5378', 10, 3 );
function filter_function_name_5378( $url_list, $taxonomy, $page_num ){
	// filter...

	return $url_list;
}
$url_list(array)
The URL list.
Default: null
$taxonomy(string)
Taxonomy name.
$page_num(int)
Page of results.

Список изменений

С версии 5.5.0 Введена.

Где вызывается хук

WP_Sitemaps_Taxonomies::get_url_list()
wp_sitemaps_taxonomies_pre_url_list
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php 79-84
$url_list = apply_filters(
	'wp_sitemaps_taxonomies_pre_url_list',
	null,
	$taxonomy,
	$page_num
);

Где используется хук в ядре WP

Использование не найдено.