remove_all_actions
remove_all_actions ( $hook_name, $priority = false )
Parameters:- (string) hook_name The action 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 an action hook.