Solved this with the arlima_wp_post filter instead