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: ''


Top ↑

Return Return

(string) $content.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.9 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.