render_block_core_shortcode

The timeline below displays how wordpress function render_block_core_shortcode has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.0

/**
 * Server-side rendering of the `core/shortcode` block.
 *
 * @package WordPress
 */
/**
 * Performs wpautop() on the shortcode block content.
 *
 * @param array  $attributes The block attributes.
 * @param string $content    The block content.
 *
 * @return string Returns the block content.
 */
function render_block_core_shortcode($attributes, $content)
{
    return wpautop($content);
}