edit_terms
do_action( ‘edit_terms’, int $term_id , string $taxonomy )
动作钩子::在编辑给定的术语之前立即触发。
Action Hook: Fires immediately before the given terms are edited.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$term_id | (int) | 术语ID。 |
$taxonomy | (string) | 分类蛞蝓。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.9.0 | wp-includes/taxonomy.php:2946 | 2 | 0 |
edit_terms 为WP2原创文章,链接:https://www.wp2.cn/hook/edit_terms/