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



pre_term_{$field} › WordPress过滤钩子

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

Filters a term field value before it is sanitized.

The dynamic portion of the hook name, $field, refers to the term field.





源码

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