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



term_{$field} › WordPress过滤钩子

Since2.3.0
已弃用n/a
apply_filters( "term_{$field}", $value, $term_id, $taxonomy, $context )
参数: (4)
  • (mixed) $value Value of the term field.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (string) $context Context to retrieve the term field value.
    Required: Yes
定义在:
文档:

Filters the term field sanitized for display.

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





源码

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