WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Yoast\WP\SEO\Integrations\Front_End

Category_Term_Description::add_shortcode_support() public Yoast 1.0

Adds shortcode support to category and term descriptions.

This methods wrap in output buffering to prevent shortcodes that echo stuff instead of return from breaking things.

{} Это метод класса: Category_Term_Description{}

Хуков нет.

Возвращает

Строку. Content with shortcodes filtered out.

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

$Category_Term_Description = new Category_Term_Description();
$Category_Term_Description->add_shortcode_support( $description );
$description(строка) (обязательный)
String to add shortcodes in.

Код Category_Term_Description::add_shortcode_support() Yoast 15.6.2

<?php
public function add_shortcode_support( $description ) {
	\ob_start();
	$description = \do_shortcode( $description );
	\ob_end_clean();

	return $description;
}