Base
Class: Base class for shortcodes.
Method: Utility function to determine the Edit Post Data.
LearnDash_Gutenberg_Block::block_attributes_get_editing_post_data Read More »
Method: Utility function to determine the Edit Post ID.
LearnDash_Gutenberg_Block::block_attributes_get_editing_post_id Read More »
Method: Utility function to determine the Edit Course Post ID.
LearnDash_Gutenberg_Block::block_attributes_get_editing_course_id Read More »
Method: Utility function to determine the User ID from the block attributes.
LearnDash_Gutenberg_Block::block_attributes_get_user_id Read More »
Method: Utility function to determine the Edit Post Type.
LearnDash_Gutenberg_Block::block_attributes_get_editing_post_type Read More »
Method: Utility function to determine the Post ID from the block attributes.
LearnDash_Gutenberg_Block::block_attributes_get_post_id Read More »
Method: Get example post ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
LearnDash_Gutenberg_Block::get_example_post_id Read More »
Method: Utility function to check if we are editing a post.
LearnDash_Gutenberg_Block::block_attributes_is_editing_post Read More »
Method: Get example user ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
LearnDash_Gutenberg_Block::get_example_user_id Read More »
Method: Called from the LD function learndash_convert_block_markers_shortcode() when parsing the block content.
LearnDash_Gutenberg_Block::learndash_block_markers_shortcode_atts_filter Read More »
Method: Called from the LD function convert_block_markers_to_shortcode() when parsing the block content.
LearnDash_Gutenberg_Block::convert_block_markers_to_shortcode_content_filter Read More »
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.
LearnDash_Gutenberg_Block::prepare_course_list_atts_to_param Read More »
Method: Build the block shortcode from attributes string.
LearnDash_Gutenberg_Block::build_block_shortcode Read More »
Method: Utility function to parse the WP Block content looking for specific token patterns.
LearnDash_Gutenberg_Block::convert_block_markers_to_shortcode Read More »
Method: Add wrapper content around content to be returned to server.
LearnDash_Gutenberg_Block::render_block_wrap Read More »
Method: Pre-Process the block attributes before render.
LearnDash_Gutenberg_Block::preprocess_block_attributes Read More »
Method: Hook into ‘the_content’ WP filter and parse out our block. We want to convert the Gutenberg Block notation to a normal LD shortcode.
LearnDash_Gutenberg_Block::the_content_filter Read More »