get_{$adjacent}_post_excluded_terms
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
apply_filters( "get_{$adjacent}_post_excluded_terms", int[]|string $excluded_terms )
Описание
Динамическая часть имени хука, $adjacent, обозначает тип соседства — 'next' или 'previous'.
Возможные имена хуков:
get_next_post_excluded_terms
get_previous_post_excluded_terms
Оригинал (английский)
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_termsget_previous_post_excluded_terms
Динамические части имени
{$adjacent}- Динамическая часть имени хука, $adjacent, обозначает тип соседства — 'next' или 'previous'.
Фильтруемое значение
Параметры
$excluded_terms
int[]|string
обязательный
Исходный код
wp-includes/link-template.php:1879
$excluded_terms = apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms );
История изменений
| Версия | Описание |
|---|---|
| 4.4.0 | Introduced. |

