render_block_core_shortcode

Advertisement

Summery Summery

Performs wpautop() on the shortcode block content.

Syntax Syntax

render_block_core_shortcode( array $attributes, string $content )

Parameters Parameters

$attributes

(Required) The block attributes.

$content

(Required) The block content.

Return Return

(string) Returns the block content.

Source Source

File: wp-includes/blocks/shortcode.php

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

Advertisement

Advertisement

Leave a Reply