doing_action ( $action = null )
- (string|null) $action Optional. Action to check. Defaults to null, which checks if any action is currently being run.
- (bool) Whether the action is currently in the stack.
- Introduced in WordPress: 3.9.0
- Deprecated in WordPress: —
Retrieve the name of an action currently being processed.