wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



render_block_core_shortcode › WordPress Function

Desden/a
Obsoleton/a
render_block_core_shortcode ( $attributes, $content )
Parâmetros: (2)
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $content The block content.
    Required: Yes
Retorna:
  • (string) Returns the block content.
Definido em:
Codex:

Performs wpautop() on the shortcode block content.



Fonte

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