delete_term
最后更新于:2021-11-26 06:25:20
do_action( ‘delete_term’, int $term, int $tt_id, string $taxonomy, GC_Term $deleted_term, array $object_ids )
Fires after a term is deleted from the database and the cache is cleaned.
参数
- $term
-
(int)
Term ID. - $tt_id
-
(int)
Term taxonomy ID. - $taxonomy
-
(string)
Taxonomy slug. - $deleted_term
-
(GC_Term)
Copy of the already-deleted term. - $object_ids
-
(array)
List of term object IDs.
源文件
文件: gc-includes/taxonomy.php