wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



remove_all_actions › WordPress Function

Da2.7.0
Deprecaton/a
remove_all_actions ( $hook_name, $priority = false )
Parametri: (2)
  • (string) $hook_name The action to remove callbacks from.
    Richiesto:
  • (int|false) $priority Optional. The priority number to remove them from. Default false.
    Richiesto: No
    Default: false
Ritorna:
  • (true) Always returns true.
Definito a:
Codex:

Removes all of the callback functions from an action hook.



Sorgenti

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