Browse: Home / Classes / LearnDash_Gutenberg_Block_Exam /


LearnDash_Gutenberg_Block_Exam::pre_render_block( string|null $content,  array $parsed_block = array(),  WP_Block|null $parent_block = null )

Pre-Render filter for Block.

Description #

We hook into the pre_render_block filter to prevent the default exam blocks from being rendered by WP.

Parameters #


(string|null) (Required) The pre-rendered content. Default null.


(array) (Optional) The block being rendered.

Default value: array()


(WP_Block|null) (Optional) If this is a nested block, a reference to the parent block.

Default value: null

Source #

File: includes/gutenberg/blocks/ld-exam/index.php

Changelog #

Version Description
4.0.0 Introduced.