Avoiding “headers already sent” in WordPress October 16, 2022 by Tarik Billa See WordPress codex page – FAQ Troubleshooting