在每个分类法的术语缓存被清除后触发一次。
原型
do_action( 'clean_term_cache', array $ids, string $taxonomy, bool $clean_taxonomy )
参数
$ids
(array)
一系列术语ID。
$taxonomy
(string)
分类标本。
$clean_taxonomy
(bool)
是否清理分类广泛的缓存
源文件
路径:wp-includes/taxonomy.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/clean_term_cache/