How to trim an xml feed file?

[ad_1]

Heya guys, I’m trying to validate a feed outputted by a hand-crafted plugin. Managed to fix all errors save for this one – the xml declaration is in the second line, first one being a blank

I’ve cleaned up the code as far as I’m aware, but u don’t know what the problem is or where it is – is there a chance to trim that line before the output?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer