doing_action


doing_action ( $action = null )

Parameters:
  • (string|null) $action Optional. Action to check. Defaults to null, which checks if any action is currently being run.
Returns:
  • (bool) Whether the action is currently in the stack.
Defined at:

Description

Retrieve the name of an action currently being processed.

Related Functions

do_action, did_action, add_action, wp_doing_cron, do_settings_sections

Top Google Results

User discussions

wpseek mobile