src/Hook/ActionBuilder.php
protected function addAction($name, $callback, $priority, $accepted_args)
    {
        add_action($name, $callback, $priority, $accepted_args);
    }
protected function addAction($name, $callback, $priority, $accepted_args)
    {
        add_action($name, $callback, $priority, $accepted_args);
    }
protected function addAction ( $ name , $ callback , $ priority , $ accepted_args ) { add_action ( $ name , $ callback , $ priority , $ accepted_args ) ; }
Calls the WordPress add_action function to listen on a hook event.

@param string                $name
@param \Closure|string|array $callback
@param int                   $priority
@param int                   $accepted_args
Calls the WordPress add_action function to listen on a hook event .