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'.


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

	return $excluded_terms;
Array of excluded term IDs.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.