deleted_term_relationships

动作钩子


do_action( 'deleted_term_relationships', $object_id, $tt_ids, $taxonomy )
参数
  • (int)
    $object_id
    Object ID.
    Required:
  • (array)
    $tt_ids
    An array of term taxonomy IDs.
    Required:
  • (string)
    $taxonomy
    Taxonomy slug.
    Required:
定义位置
  • wp-includes/taxonomy.php
    , line 2975
引入
4.7.0
弃用

Fires immediately after an object-term relationship is deleted.

do_action( 'deleted_term_relationships', $object_id, $tt_ids, $taxonomy );