Uma área de pesquisa sobre o WordPress para devs e autores do tema



remove_all_actions ›

Desde2.7.0
Obsoleton/a
remove_all_actions ( $tag, $priority = false )
Parâmetros: (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
    Padrão: false
Retorna:
  • (true) True when finished.
Definido em:
Codex:

Remove all of the hooks from an action.



Fonte

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