remove_all_actions( string $tag, int|bool $priority = false )

Remove all of the hooks from an action.


Description


Parameters

$tag

(string) (Required) The action to remove hooks from.

$priority

(int|bool) (Optional) The priority number to remove them from.

Default value: false


Top ↑

Return

(true) True when finished.


Top ↑

Source

File: wp-includes/plugin.php

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

Top ↑

Changelog

Version Description
2.7.0 Introduced.