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



pre_{$taxonomy}_{$field} ›

Since2.3.0
已弃用n/a
apply_filters( "pre_{$taxonomy}_{$field}", $value )
参数:
  • (mixed) $value Value of the taxonomy field.
    Required: Yes
定义在:
文档:

Filters a taxonomy field before it is sanitized.

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





源码

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