WordPress开发者和主题制作者的搜索引擎



get_{$adjacent}_post_excluded_terms ›

Since4.4.0
已弃用n/a
apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms )
参数:
  • (array) $excluded_terms Array of excluded term IDs.
    Required: Yes
定义在:
文档:

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





源码

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