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_2826' );
function filter_function_name_2826( $excluded_terms ){
	// filter...

	return $excluded_terms;
Array of excluded term IDs.

Where the hook is called

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

Where the hook is used (in WP core)

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