delete_{$taxonomy}

最后更新于:2021-11-26 07:03:16

do_action( “delete_{$taxonomy}”, int $term, int $tt_id, GC_Term $deleted_term, array $object_ids )

Fires after a term in a specific taxonomy is deleted.

参数

$term

(int)
Term ID.

$tt_id

(int)
Term taxonomy ID.

$deleted_term

(GC_Term)
Copy of the already-deleted term.

$object_ids

(array)
List of term object IDs.

源文件

文件: gc-includes/taxonomy.php

View on Trac