wpseek.com
A WordPress-centric search engine for devs and theme authors



remove_all_actions › WordPress Function

Since2.7.0
Deprecatedn/a
remove_all_actions ( $hook_name, $priority = false )
Parameters: (2)
  • (string) $hook_name The action to remove callbacks from.
    Required: Yes
  • (int|false) $priority Optional. The priority number to remove them from. Default false.
    Required: No
    Default: false
Returns:
  • (true) Always returns true.
Defined at:
Codex:

Removes all of the callback functions from an action hook.



Source

function remove_all_actions( $hook_name, $priority = false ) {
	return remove_all_filters( $hook_name, $priority );
}