deleted_term_relationships
do_action( ‘deleted_term_relationships’, int $object_id , array $tt_ids , string $taxonomy )
动作钩子::在删除对象项关系后立即激发。
Action Hook: Fires immediately after an object-term relationship is deleted.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$object_id | (int) | 对象ID。 |
$tt_ids | (array) | 一组术语分类ID。 |
$taxonomy | (string) | 分类蛞蝓。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.7.0 | wp-includes/taxonomy.php:2671 | 1 | 0 |
deleted_term_relationships 为WP2原创文章,链接:https://www.wp2.cn/hook/deleted_term_relationships/