render_block_core_shortcode()
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() render block core shortcode WP 6.2
function render_block_core_shortcode( $attributes, $content ) { return wpautop( $content ); }