The event is signaled in p_render() in inc/parserutils.php immediately after the renderer completes. You can use this event to inspect or modify its output before it is passed back to DokuWiki
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
add related events or xref links