remove_all_actions( string $hook_name, int|false $priority = false )

Removes all of the callback functions from an action hook.


Parameters

$hook_name

(Required) The action to remove callbacks from.

$priority

(Optional) The priority number to remove them from.<br>

Default value: false


Return

(true) Always returns true.


Source

File: wp-includes/plugin.php

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


Changelog

Changelog
Version Description
2.7.0 Introduced.