wpseek.com
A WordPress-centric search engine for devs and theme authors



current_action › WordPress Function

Since3.9.0
Deprecatedn/a
current_action ( No parameters )
Returns:
  • (string) Hook name of the current action.
Defined at:
Codex:

Retrieves the name of the current action hook.



Source

function current_action() {
	return current_filter();
}