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



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

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

Filters the taxonomy field to edit before it is sanitized.

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





源码

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