WordPress at a glance
filter is not described

get_(adjacent)_post_excluded_terms filter-hook . WP 4.4.0

Filters the IDs of terms excluded from adjacent post queries.

The dynamic portion of the hook name, $adjacent, refers to the type of adjacency, 'next' or 'previous'.

Usage

add_filter( 'get_(adjacent)_post_excluded_terms', 'filter_function_name_8188' );
function filter_function_name_8188( $excluded_terms ){
	// filter...

	return $excluded_terms;
}
$excluded_terms(array)
Array of excluded term IDs.

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

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

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

get_adjacent_post()
get_(adjacent)_post_excluded_terms
wp-includes/link-template.php 1746
$excluded_terms = apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms );

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

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