core/Hook.php
public static function string($name)
    {
        $buffer = [];
        foreach (self::trigger($name) as $hook) {
            $buffer[] = $hook->output;
        }
        
        return implode("", $buffer);
    }
public static function string($name)
    {
        $buffer = [];
        foreach (self::trigger($name) as $hook) {
            $buffer[] = $hook->output;
        }
        
        return implode("", $buffer);
    }
public static function string ( $ name ) { $ buffer = [ ] ; foreach ( self :: trigger ( $ name ) as $ hook ) { $ buffer [ ] = $ hook -> output ; } return implode ( "" , $ buffer ) ; }
Get the string output of the hooks.

@param string $name The name of the hook to trigger.
@return string
Get the string output of the hooks .