wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



current_action › WordPress Function

Depuis3.9.0
Dépréciéen/a
› current_action ( Pas de paramètres )
Retourne:
  • (string|false) Hook name of the current action, false if no action is running.
Défini(e) dans:
Codex:

Retrieves the name of the current action hook.



Source

function current_action() {
	return current_filter();
}