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.
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 ); }
Expand full source code Collapse full source code View on Trac