Yoast\WP\SEO\Helpers
Post_Helper::strip_shortcodes() public Yoast 1.0
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 15.6.2
public function strip_shortcodes( $content ) {
return \strip_shortcodes( $content );
}