has_action( ... )

Checks if any action has been registered for a hook.

Parameters:
  • $hook_name string
  • $callback callable | string | array | false