WordPress at Your Fingertips
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_1520' );
function filter_function_name_1520( $excluded_terms ){
	// filter...

	return $excluded_terms;
}
$excluded_terms(array|string)
Array of excluded term IDs. Empty string if none were provided.

Changelog

Since 4.4.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.