clean_term_cache

最后更新于:2021-11-25 23:52:22

do_action( ‘clean_term_cache’, array $ids, string $taxonomy, bool $clean_taxonomy )

Fires once after each taxonomy’s term cache has been cleaned.

参数

$ids

(array)
An array of term IDs.

$taxonomy

(string)
Taxonomy slug.

$clean_taxonomy

(bool)
Whether or not to clean taxonomy-wide caches

源文件

文件: gc-includes/taxonomy.php

View on Trac