WordPress at a glance
function is not described

SimplePie::set_url_replacements() public WP 1.0

Set element/attribute key/value pairs of HTML attributes containing URLs that need to be resolved relative to the feed

Defaults to |a|@href, |area|@href, |blockquote|@cite, |del|@cite,
|form|@action, |img|@longdesc, |img|@src, |input|@src, |ins|@cite,
|q|@cite

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie = new SimplePie();
$SimplePie->set_url_replacements( $element_attribute );
$element_attribute(array|null)
Element/attribute key/value pairs, null for default

Changelog

Since 1.0 Introduced.

Code of SimplePie::set_url_replacements() WP 5.7.2

<?php
public function set_url_replacements($element_attribute = null)
{
	$this->sanitize->set_url_replacements($element_attribute);
}