WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/remove all filters

Description

Remove all of the hooks from a filter.

Usage

<?php remove_all_filters$tag$priority ); ?>

Parameters

$tag
(string) (required) The filter to remove hooks from.
Default: None
$priority
(integer) (optional) The priority number to remove.
Default: false

Return Values

(boolean) 
True when finished.

Examples

Notes

  • Uses global: (unknown type) $wp_filter
  • Uses global: (unknown type) $merged_filters

Change Log

Since: 2.7

Source File

remove_all_filters() is located in wp-includes/plugin.php.

Related

Filter Functions:

See also index of Function Reference and index of Template Tags.