Prepared templating workflow with filters and macros.
MangoPressTemplating::init();
More about available filters in https://github.com/manGoweb/MangoPress/wiki/Template-filters
In PHP:
$param = flashSuccess('Something just went great!');
wp_redirect(add_query_arg(FLASH_KEY, $param));
and then in latte much like in regular Nette templates.