helper.content_render: Allow run custom code before and after content is rendered