SimplePie::strip_htmltags()publicWP 1.0

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->strip_htmltags( $tags, $encode );
$tags **
-
Default: ''
$encode **
-
Default: null

SimplePie::strip_htmltags() code WP 6.5.4

public function strip_htmltags($tags = '', $encode = null)
{
	if ($tags === '')
	{
		$tags = $this->strip_htmltags;
	}
	$this->sanitize->strip_htmltags($tags);
	if ($encode !== null)
	{
		$this->sanitize->encode_instead_of_strip($tags);
	}
}