protected function _runWpHook($name, array $args = [])
    {
        $name = $this->_normalizeString($name);

        // Add the event name to the args array
        \array_unshift($args, $name);

        return \call_user_func_array('apply_filters', $args);
    }
protected function _runWpHook($name, array $args = [])
    {
        $name = $this->_normalizeString($name);

        // Add the event name to the args array
        \array_unshift($args, $name);

        return \call_user_func_array('apply_filters', $args);
    }
protected function _runWpHook ( $ name , array $ args = [ ] ) { $ name = $ this -> _normalizeString ( $ name ) ; // Add the event name to the args array \ array_unshift ( $ args , $ name ) ; return \ call_user_func_array ( 'apply_filters' , $ args ) ; }
Causes WordPress to execute all handlers of the specified hook.

@since [*next-version*]

@param string|Stringable $name Name of the hook to run handlers for.
@param array             $args Arguments to pass to the handler.

@return mixed The result returned by the last handler.
Causes WordPress to execute all handlers of the specified hook .