W3cubDocs

/WordPress

apply_filters( "get_{$adjacent}_post_excluded_terms", array $excluded_terms )

Filters the IDs of terms excluded from adjacent post queries.

Description

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

Parameters

$excluded_terms

(array) Array of excluded term IDs.

Source

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_adjacent_post_excluded_terms