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.4.3

do_action('deleted_term_relationships') is found 1 times:

  • /wp-includes/taxonomy.php line 3022
    		 * @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: