Method: Pre-Process the block attributes before render.
Class: Abstract Parent class to hold common functions used by specific LearnDash Blocks.
Method: Initialize the hooks.
Method: Register Block for Gutenberg
Method: Hook into ‘the_content’ WP filter and parse out our block. We want to convert eh Gutenber Block notation to a normal LD shortcode.
Method: Render Block
Method: Add wrapper content around content to be returned to server.
Method: Utility function to parse the WP Block content looking for specific token patterns.
Filter Hook: Filters the shortcode content after converting it from WordPress block content.
Method: Called from the LD function learndash_convert_block_markers_shortcode() when parsing the block content.
Method: Called from the LD function convert_block_markers_to_shortcode() when parsing the block content.
Method: Common function used by the ld_course_list, ld_lesson_list, ld_topic_list, and ld_quiz_list called from the render_block short/block processing function.
Method: Get example user ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
Filter Hook: Filters gutenberg block example ID.
Method: Get example post ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.