delete_term

delete_term

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('delete_term') is found 1 times:

  • /wp-includes/taxonomy.php line 2187
    	 * @param string  $taxonomy     Taxonomy slug.
    	 * @param WP_Term $deleted_term Copy of the already-deleted term.
    	 * @param array   $object_ids   List of term object IDs.
    	 */
    	do_action( 'delete_term', $term, $tt_id, $taxonomy, $deleted_term, $object_ids );
    
    	/**
    	 * Fires after a term in a specific taxonomy is deleted.
    	 *
    	 * The dynamic portion of the hook name, `$taxonomy`, refers to the specific
    	 * taxonomy the term belonged to.
    

See this hook used in plugins: