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 Description
Called at high priority BEFORE do_shortcode() and do_blocks().
Parameters Parameters
- $content
-
(Optional) The post content containg all the inline HTML and blocks.
Default value: ''
Return Return
(string) $content.
Source Source
File: includes/gutenberg/lib/class-learndash-gutenberg-block.php
Changelog Changelog
Version | Description |
---|---|
2.5.9 | Introduced. |