Core Function
View Source on Trac ↗ remove_all_filters()
remove_all_filters( mixed $hook_name, mixed $priority = false ) Removes all of the callback functions from a filter hook.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $hook_name string | The filter to remove callbacks from. Required |
| mixed | (int | false) $priority Optional. The priority number to remove them from. Default false. Required |
Return Value
(true)
Always returns true.
Function Information
Since Version
2.7.0
Source File
wp-includes/plugin.php
Advertisement