Yoast\WP\SEO\Helpers

String_Helper::strip_all_tags()publicYoast 1.0

Strips all HTML tags including script and style.

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

Хуков нет.

Возвращает

Строку. The processed string.

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

$String_Helper = new String_Helper();
$String_Helper->strip_all_tags( $text );
$text(строка) (обязательный)
The text to strip the tags from.

Код String_Helper::strip_all_tags() Yoast 22.3

public function strip_all_tags( $text ) {
	return \wp_strip_all_tags( $text );
}