Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Shortcodes_Blocks::get_config()
Available shortcode blocks.
Return Return
(array)
Source Source
File: includes/shortcodes/class.llms.shortcodes.blocks.php
private function get_config(): array {
$config = array(
'access-plan-button' => array(
'render' => array( 'LLMS_Shortcodes', 'access_plan_button' ),
),
'checkout' => array(
'render' => array( 'LLMS_Shortcodes', 'checkout' ),
),
'courses' => array(
'render' => array( 'LLMS_Shortcode_Courses', 'output' ),
),
'course-author' => array(
'render' => array( 'LLMS_Shortcode_Course_Author', 'output' ),
),
'course-continue' => array(
'render' => array( 'LLMS_Shortcode_Course_Continue', 'output' ),
),
'course-meta-info' => array(
'render' => array( 'LLMS_Shortcode_Course_Meta_Info', 'output' ),
),
'course-outline' => array(
'render' => array( 'LLMS_Shortcode_Course_Outline', 'output' ),
),
'course-prerequisites' => array(
'render' => array( 'LLMS_Shortcode_Course_Prerequisites', 'output' ),
),
'course-reviews' => array(
'render' => array( 'LLMS_Shortcode_Course_Reviews', 'output' ),
),
'course-syllabus' => array(
'render' => array( 'LLMS_Shortcode_Course_Syllabus', 'output' ),
),
'login' => array(
'render' => array( 'LLMS_Shortcodes', 'login' ),
),
'memberships' => array(
'render' => array( 'LLMS_Shortcodes', 'memberships' ),
),
'my-account' => array(
'render' => array( 'LLMS_Shortcodes', 'my_account' ),
),
'my-achievements' => array(
'render' => array( 'LLMS_Shortcode_My_Achievements', 'output' ),
),
'registration' => array(
'render' => array( 'LLMS_Shortcode_Registration', 'output' ),
),
);
/**
* Filters shortcode blocks config.
*
* @since 7.2.0
*
* @param array $config Array of shortcode blocks.
*/
return apply_filters( 'llms_shortcode_blocks', $config );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.2.0 | Introduced. |