Quick filter question

Does anyone know if there is any way to run a filter after performing an
action but before rendering the layout?