final public function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1)
    {
        $this->add_filter($tag, $function_to_add, $priority, $accepted_args);
    }
final public function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1)
    {
        $this->add_filter($tag, $function_to_add, $priority, $accepted_args);
    }
final public function add_action ( $ tag , $ function_to_add , $ priority = 10 , $ accepted_args = 1 ) { $ this -> add_filter ( $ tag , $ function_to_add , $ priority , $ accepted_args ) ; }
Syntactic sugar around add_filter for grouping hooks together based on type.

@since 1.0.0

@param string|array $tag             The name of the filter to hook the $function_to_add callback to.
@param callable     $function_to_add The callback to be run when the filter is applied.
@param integer      $priority        The priority of the callback.
@param integer      $accepted_args   The amount of arguments the callback accepts.
Syntactic sugar around add_filter for grouping hooks together based on type .