do_action( ... )

Calls the callback functions that have been added to an action hook.

Parameters:
  • $hook_name string
  • $arg mixed