Yoast\WP\SEO\Helpers
Post_Helper::strip_shortcodes()
Removes all shortcode tags from the given content.
Метод класса: Post_Helper{}
Хуков нет.
Возвращает
Строку
. Content without shortcode tags.
Использование
$Post_Helper = new Post_Helper(); $Post_Helper->strip_shortcodes( $content );
- $content(строка) (обязательный)
- Content to remove all the shortcode tags from.
Код Post_Helper::strip_shortcodes() Post Helper::strip shortcodes Yoast 24.6
public function strip_shortcodes( $content ) { return \strip_shortcodes( $content ); }