LearnDash_Gutenberg_Block::render_block_wrap

LearnDash_Gutenberg_Block::render_block_wrap( string $content = '',  boolean $with_inner = true )

Add wrapper content around content to be returned to server.


Description #


Parameters #

$content

(string) (Optional) Content text to be wrapper.

Default value: ''

$with_inner

(boolean) (Optional) Flag to control inclusion of inner block div element.

Default value: true


Return #

(string) wrapped content.


Source #

File: includes/gutenberg/lib/class-learndash-gutenberg-block.php


Changelog #

Changelog
Version Description
2.5.9 Introduced.