clean_object_term_cache
do_action( ‘clean_object_term_cache’, array $object_ids , string $object_type )
操作钩子:在对象术语缓存被清除后激发。
Action Hook: Fires after the object term cache has been cleaned.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$object_ids | (array) | 对象ID数组。 |
$object_type | (string) | 对象类型。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.5.0 | wp-includes/taxonomy.php:3214 | 1 | 0 |
clean_object_term_cache 为WP2原创文章,链接:https://www.wp2.cn/hook/clean_object_term_cache/