did_action


did_action ( $hook_name )

Parameters:
  • (string) hook_name The name of the action hook.
Returns:
  • (int) The number of times the action hook has been fired.
Defined at:

Description

Retrieves the number of times an action has been fired during the current request.

Related Functions

add_action, do_action, doing_action, has_action, add_option

Top Google Results

User discussions

wpseek mobile