A WordPress-centric search engine for devs and theme authors



doing_action ›

Since3.9.0
Deprecatedn/a
doing_action ( $action = null )
Parameters:
  • (string|null) $action Optional. Action to check. Defaults to null, which checks if any action is currently being run.
    Required: No
    Default: null
Returns:
  • (bool) Whether the action is currently in the stack.
Defined at:
Codex:

Retrieve the name of an action currently being processed.



Source

function doing_action( $action = null ) {
	return doing_filter( $action );
}