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