wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



render_block_core_shortcode › WordPress Function

Depuisn/a
Dépréciéen/a
render_block_core_shortcode ( $attributes, $content )
Paramètres: (2)
  • (array) $attributes The block attributes.
    Requis: Oui
  • (string) $content The block content.
    Requis: Oui
Retourne:
  • (string) Returns the block content.
Défini(e) dans:
Codex:

Performs wpautop() on the shortcode block content.



Source

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