LearnDash_Gutenberg_Block::the_content_filter( string $content = '' )

Hook into ‘the_content’ WP filter and parse out our block. We want to convert eh Gutenber Block notation to a normal LD shortcode.

Description #

Called at high priority BEFORE do_shortcode() and do_blocks().

Parameters #


(string) (Optional) The post content containg all the inline HTML and blocks.

Default value: ''

Return #

(string) $content.

Source #

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

Changelog #

Version Description
2.5.9 Introduced.