WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/remove all filters

Contents

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

Filters: has_filter(), add_filter(), apply_filters(), current_filter(), merge_filters(), remove_filter(), remove_all_filters()

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