render_block_core_shortcode()WP 1.0

Performs wpautop() on the shortcode block content.

Хуков нет.

Возвращает

Строку. Returns the block content.

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

render_block_core_shortcode( $attributes, $content );
$attributes(массив) (обязательный)
The block attributes.
$content(строка) (обязательный)
The block content.

Код render_block_core_shortcode() WP 6.2

function render_block_core_shortcode( $attributes, $content ) {
	return wpautop( $content );
}