WPDev.one
Core Function
View Source on Trac ↗

render_block_core_shortcode()

render_block_core_shortcode( mixed $attributes, mixed $content )

Performs wpautop() on the shortcode block content.

Parameters 2 required

Name / Type Description
$attributes
array

The block attributes.

Required
$content
string

The block content.

Required

Return Value

(string)
Returns the block content.

Function Information

Since Version
5.0.0
Source File
wp-includes/blocks/shortcode.php
Advertisement