Add body text alter hook implementation #5881