cms.page.renderContent

Triggered in Cms\Classes\Controller.

Provides an oportunity to manipulate the output of a content file after being rendered

Example usage:

Event::listen('cms.page.renderContent', function ((\Cms\Classes\Controller) $controller, (string) $contentName, (string) &$fileContent) {
    return "Overriding content";
});

Or

$CmsController->bindEvent('page.renderContent', function ((string) $contentName, (string) &$fileContent) {
    return "Overriding content";
});