wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



render_block_core_shortcode › WordPress Function

Seitn/v
Veraltetn/v
render_block_core_shortcode ( $attributes, $content )
Parameter: (2)
  • (array) $attributes The block attributes.
    Erforderlich: Ja
  • (string) $content The block content.
    Erforderlich: Ja
Gibt zurück:
  • (string) Returns the block content.
Definiert in:
Codex:

Performs wpautop() on the shortcode block content.



Quellcode

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