wpseek.com
A WordPress-centric search engine for devs and theme authors



render_block_core_shortcode › WordPress Function

Sincen/a
Deprecatedn/a
render_block_core_shortcode ( $attributes, $content )
Parameters: (2)
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $content The block content.
    Required: Yes
Returns:
  • (string) Returns the block content.
Defined at:
Codex:

Performs wpautop() on the shortcode block content.



Source

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