A WordPress-centric search engine for devs and theme authors



current_action ›

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

Retrieve the name of the current action.



Source

function current_action() {
	return current_filter();
}