current_action()
Retrieves the name of the current action hook.
No Hooks.
Return
String
. Hook name of the current action.
Usage
current_action();
Changelog
Since 3.9.0 | Introduced. |
current_action() current action code WP 6.8
function current_action() { return current_filter(); }