WordPress at a glance
function is not described

SimplePie::force_feed() public WP 1.1

Force the given data/URL to be treated as a feed

This tells SimplePie to ignore the content-type provided by the server. Be careful when using this option, as it will also disable autodiscovery.

{} It's a method of the class: SimplePie{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie = new SimplePie();
$SimplePie->force_feed( $enable );
$enable(true|false)
Force the given data/URL to be treated as a feed

Changelog

Since 1.1 Introduced.

Code of SimplePie::force_feed() WP 5.7.2

<?php
public function force_feed($enable = false)
{
	$this->force_feed = (bool) $enable;
}