remove_all_actions( string $tag, int|bool $priority = false )
Remove all of the hooks from an action.
Parameters
- $tag
-
(Required) The action to remove hooks from.
- $priority
-
(Optional) The priority number to remove them from.
Default value: false
Return
(true) True when finished.
Source
File: wp-includes/plugin.php
function remove_all_actions($tag, $priority = false) {
return remove_all_filters($tag, $priority);
}
Changelog
Version | Description |
---|---|
WP-2.7.0 | Introduced. |