SimplePie::strip_htmltags()publicWP 1.0

Метод класса: SimplePie{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$SimplePie = new SimplePie();
$SimplePie->strip_htmltags( $tags, $encode );
$tags **
-
По умолчанию: ''
$encode **
-
По умолчанию: null

Код SimplePie::strip_htmltags() WP 6.5.2

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);
	}
}