$all : object
execute(string $hook, mixed $arg = '')
Execute functions/methods hooked on a specific action hook.
This method invokes all functions/methods attached to action hook
$hook. It is
possible to create new action hooks by simply calling this method,
specifying the name of the new hook using the
You can pass extra arguments to the hooks, much like you can with ApplyFilterHook::apply().
The name of the action to be executed.
Optional. Additional arguments which are passed on to the functions/methods hooked to the action. Default empty.