LearnDash_Gutenberg_Block::the_content_filter( string $content = '' )
Hook into ‘the_content’ WP filter and parse out our block. We want to convert the Gutenberg Block notation to a normal LD shortcode.
Description #
Called at high priority BEFORE do_shortcode() and do_blocks().
Parameters #
- $content
-
(string) (Optional) The post content containing 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. |