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



{$taxonomy}_{$field} › WordPress过滤钩子

Since2.3.0
已弃用n/a
› apply_filters( "{$taxonomy}_{$field}", $value, $term_id, $context )
参数: (3)
  • () value Value of the taxonomy field.
    Required: Yes
  • () term_id Term ID.
    Required: Yes
  • () context Context to retrieve the taxonomy field value.
    Required: Yes
定义在:
文档:

Filters the taxonomy field sanitized for display.

The dynamic portions of the filter name, `$taxonomy`, and `$field`, refer to the taxonomy slug and taxonomy field, respectively.




源码

$value = apply_filters( "{$taxonomy}_{$field}", $value, $term_id, $context );