A WordPress-centric search engine for devs and theme authors



remove_all_actions ›

Since2.7.0
Deprecatedn/a
remove_all_actions ( $tag, $priority = false )
Parameters: (2)
  • (string) $tag The action to remove hooks from.
    Required: Yes
  • (int|bool) $priority The priority number to remove them from. Default false.
    Required: No
    Default: false
Returns:
  • (true) True when finished.
Defined at:
Codex:

Remove all of the hooks from an action.



Source

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