Browse: Home / Classes / LearnDash_Gutenberg_Block /


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

Add wrapper content around content to be returned to server.

Description #

Parameters #


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

Default value: ''


(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 #

Version Description
2.5.9 Introduced.