wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_{$adjacent}_post_excluded_terms › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms )
Paramètres:
  • (int[]|string) $excluded_terms Array of excluded term IDs. Empty string if none were provided.
    Requis: Oui
Défini(e) dans:
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'.

Possible hook names include:

  • get_next_post_excluded_terms
  • get_previous_post_excluded_terms




Source

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