I am using fetch_feed to pull in an rss feed, however I'd like to get the feeds header and the status code in the results.
Is there a method to modify the results to include these two items(status code, headers)?
fetch_feed() returns a SimplePie object. From a quick glance at its source, it looks like you can use
$feed->status_code // on the public API
$feed->data['headers'] // technically private
$feed->status_code()
and $feed->get_raw_data()['headers']