edit_term_{$field}
apply_filters( “edit_term_{$field}”, mixed $value , int $term_id , string $taxonomy )
过滤器::过滤要编辑的术语字段,然后对其进行清理。
Filter Hook: Filters a term field to edit before it is sanitized.
说明(Description)
过滤器名$field的动态部分引用了term字段。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$value | (mixed) | 术语字段的值。 |
$term_id | (int) | 术语ID。 |
$taxonomy | (string) | 分类蛞蝓。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.3.0 | wp-includes/taxonomy.php:1555 | 1 | 0 |
edit_term_{$field} 为WP2原创文章,链接:https://www.wp2.cn/hook/edit_term_field/