LearnDash_Gutenberg_Block::preprocess_block_attributes()
Method: Pre-Process the block attributes before render.
LearnDash_Gutenberg_Block::preprocess_block_attributes 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 »
Method: Register Block for Gutenberg.
LearnDash_Gutenberg_Block::register_blocks Read More »
Method: Initialize the hooks.
LearnDash_Gutenberg_Block::init Read More »
Class: Abstract Parent class to hold common functions used by specific LearnDash Blocks.
LearnDash_Gutenberg_Block Read More »
Method: Initialize shortcodes.
Shortcodes::init_shortcodes Read More »
Method: Recursively extracts values for a specified key from a nested associative array.
Utilities::associative_list_pluck Read More »
Method: Formats the displayed price for a Course.
Utilities::format_price Read More »
Method: Helper method similar to checked() that also has the ability to set the given input element as disabled.
Utilities::checked_array Read More »
Method: Retrieves the amount of time it takes for the course to be completed.
Utilities::get_duration Read More »
Method: Generates a random ID string for use in Course Grid elements.
Utilities::generate_random_id Read More »
Method: Gets available pagination types formatted for block editor.
Utilities::get_paginations_for_block_editor Read More »