WordPress开发者和主题制作者的搜索引擎



render_block_core_shortcode ›

Sincen/a
已弃用n/a
render_block_core_shortcode ( $attributes, $content )
参数: (2)
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $content The block content.
    Required: Yes
返回:
  • (string) Returns the block content.
定义在:
文档:

Performs wpautop() on the shortcode block content.



源码

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