render_block_core_shortcode( array $attributes, string $content )

Performs wpautop() on the shortcode block content.


Description Description


Parameters Parameters

$attributes

(array) (Required) The block attributes.

$content

(string) (Required) The block content.


Top ↑

Return Return

(string) Returns the block content.


Top ↑

Source Source

File: wp-includes/blocks/shortcode.php

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.