remove_all_filters
remove_all_filters ( $tag, $priority = false )
Parameters:- (string) tag The filter to remove hooks from.
- (int|bool) priority Optional. The priority number to remove. Default false.
Returns:- (true) True when finished.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Remove all of the hooks from a filter.