SimplePie::set_url_replacements()
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
Method of the class: SimplePie{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SimplePie = new SimplePie(); $SimplePie->set_url_replacements( $element_attribute );
- $element_attribute(array|null)
- Element/attribute key/value pairs, null for default
Default: null
Changelog
Since 1.0 | Introduced. |
SimplePie::set_url_replacements() SimplePie::set url replacements code WP 6.5.2
public function set_url_replacements($element_attribute = null) { $this->sanitize->set_url_replacements($element_attribute); }