WordPress at a glance
action is not described

delete_term_relationships action-hook . WP 2.9.0

Fires immediately before an object-term relationship is deleted.


add_action( 'delete_term_relationships', 'action_function_name_626', 10, 3 );
function action_function_name_626( $object_id, $tt_ids, $taxonomy ){
	// action...
Object ID.
An array of term taxonomy IDs.
Taxonomy slug.


  • Since 4.7.0 Added the $taxonomy parameter.

Where the hook is called

wp-includes/taxonomy.php 2450
do_action( 'delete_term_relationships', $object_id, $tt_ids, $taxonomy );

Where the hook is used (in WP core)

Does not used.