It seems deleteTemplateBlock() and clearBlocks() only work in the document body, not in the header or footer.
Is there any other way to achieve the same functionality for header/footer?
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now