Index: plugin.php
===================================================================
--- plugin.php	(revision 8534)
+++ plugin.php	(working copy)
@@ -206,7 +206,31 @@
 	return $r;
 }
 
+/**
+ * Remove all of the hooks from a filter.
+ *
+ * @since {@internal Version Unknown}}
+ *
+ * @param string $tag The filter to remove hooks from.
+ * @param int $priority The priority number to remove.
+ * @return bool True when finished.
+ */
+function remove_all_filters($tag, $priority = false) {
+	global $wp_filter, $merge_filters;
 
+	if( isset($wp_filter[$tag]) ) {
+		if( false !== $priority && isset($$wp_filter[$tag][$priority]) )
+			unset($wp_filter[$tag][$priority]);
+		else
+			unset($wp_filter[$tag]);
+	}
+
+	if( isset($merged_filters[$tag]) )
+		unset($merged_filters[$tag]);
+
+	return true;
+}
+
 /**
  * current_filter() - Return the name of the current filter or action.
  *
@@ -427,6 +451,19 @@
 	return remove_filter($tag, $function_to_remove, $priority, $accepted_args);
 }
 
+/**
+ * Remove all of the hooks from an action.
+ *
+ * @since {@internal Version Unknown}}
+ *
+ * @param string $tag The action to remove hooks from.
+ * @param int $priority The priority number to remove.
+ * @return bool True when finished.
+ */
+function remove_all_actions($tag, $priority = false) {
+	return remove_all_filters($tag, $priority);
+}
+
 //
 // Functions for handling plugins.
 //
