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


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

public function add_shortcode_support( $description ) {
	$description = \do_shortcode( $description );

	return $description;