WordPress at Your Fingertips
function is not described

SimplePie_Source::get_image_url() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Source = new SimplePie_Source();
$SimplePie_Source->get_image_url();

Code of SimplePie_Source::get_image_url() WP 5.8.2

public function get_image_url()
{
	if ($return = $this->get_source_tags(SIMPLEPIE_NAMESPACE_ITUNES, 'image'))
	{
		return $this->sanitize($return[0]['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI);
	}
	elseif ($return = $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'logo'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($return[0]));
	}
	elseif ($return = $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'icon'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($return[0]));
	}

	return null;
}