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



current_action › WordPress Function

Desde3.9.0
Obsoleton/a
› current_action ( Sem parâmetros )
Retorna:
  • (string|false) Hook name of the current action, false if no action is running.
Definido em:
Codex:

Retrieves the name of the current action hook.



Fonte

function current_action() {
	return current_filter();
}