Yoast\WP\SEO\Helpers
String_Helper::strip_all_tags()
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() String Helper::strip all tags Yoast 24.4
public function strip_all_tags( $text ) { return \wp_strip_all_tags( $text ); }