在特定分类中的术语更新后,但在清除术语缓存之前触发。
原型
do_action( "edit_{$taxonomy}", int $term_id, int $tt_id )
描述
钩子名称的动态部分$ taxonomy指的是分类标本。
参数
$term_id
(int)
术语ID。
$tt_id
(int)
术语分类ID。
源文件
路径:wp-includes/taxonomy.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/edit_taxonomy/