delete_$taxonomy

delete_$taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('delete_$taxonomy') is found 1 times:

  • /wp-includes/taxonomy.php line 2216
    	 * @param int     $tt_id        Term taxonomy ID.
    	 * @param WP_Term $deleted_term Copy of the already-deleted term.
    	 * @param array   $object_ids   List of term object IDs.
    	 */
    	do_action( "delete_{$taxonomy}", $term, $tt_id, $deleted_term, $object_ids );
    
    	return true;
    }
    
    /**
     * Deletes one existing category.