Summery Summery
Performs wpautop() on the shortcode block content.
Syntax Syntax
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 ); }