remove_all_filters
remove_all_filters ( $hook_name, $priority = false )
Parameters:- (string) hook_name The filter to remove callbacks from.
- (int|false) priority Optional. The priority number to remove them from. Default false.
Returns:- (true) Always returns true.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Removes all of the callback functions from a filter hook.