remove_all_actions( string $tag, int|bool $priority = false )
Remove all of the hooks from an action.
Description Description
Parameters Parameters
- $tag
-
(string) (Required) The action to remove hooks from.
- $priority
-
(int|bool) (Optional) The priority number to remove them from.
Default value: false
Return Return
(true) True when finished.
Source Source
File: wp-includes/plugin.php
function remove_all_actions( $tag, $priority = false ) { return remove_all_filters( $tag, $priority ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example:
This example will remove all of the hooks from the_content function.