A WordPress-centric search engine for devs and theme authors



get_{$adjacent}_post_excluded_terms ›

Since4.4.0
Deprecatedn/a
apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms )
Parameters:
  • (string) $excluded_terms Array of excluded term IDs.
    Required: Yes
Defined at:
Codex:

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





Source

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