Shortcodes
Class: Shortcodes module class.
@package: LearnDash / Core
Source Files: includes/course-grid/includes/class-shortcodes.php
Class: Shortcodes module class.
Method: Constructor.
Shortcodes::__construct Read More »
Method: Adds meta boxes.
Translations::add_meta_boxes Read More »
Method: Outputs meta box.
Translations::show_meta_box Read More »
Class: Deprecated legacy course grid translations class.
Method: Constructor.
Translations::__construct 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 »
Filter Hook: Gets the available pagination types formatted for block editor.
learndash_course_grid_block_editor_paginations Read More »
Method: Gets taxonomies formatted for block editor.
Utilities::get_taxonomies_for_block_editor Read More »
Filter Hook: Filters the taxonomy options available for block editor.
learndash_course_grid_block_editor_taxonomies Read More »
Filter Hook: Filters the orderby options available for block editor.
learndash_course_grid_block_editor_orderby Read More »
Filter Hook: Filters image size options for the block editor.
learndash_course_grid_block_editor_image_sizes Read More »
Method: Gets orderby options formatted for block editor.
Utilities::get_orderby_for_block_editor Read More »
Filter Hook: Filters the list of excluded Post Types for queries.
learndash_course_grid_excluded_post_types Read More »
Method: Gets image sizes formatted for block editor.
Utilities::get_image_sizes_for_block_editor Read More »