deleted_term_relationships

deleted_term_relationships

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('deleted_term_relationships') is found 1 times:

  • /wp-includes/taxonomy.php line 3051
    3047
    3048
    3049
    3050
    3051
    3052
    3053
    3054
    3055
    3056
         * @param int    $object_id Object ID.
         * @param array  $tt_ids    An array of term taxonomy IDs.
         * @param string $taxonomy  Taxonomy slug.
         */
        do_action( 'deleted_term_relationships', $object_id, $tt_ids, $taxonomy );
     
        wp_update_term_count( $tt_ids, $taxonomy );
     
        return (bool) $deleted;
    }

See this hook used in plugins: