LearnDash_Theme_Register::get_active_theme_instance()
Get the instance of the current active theme.
Description #
Return #
(object) instance of active theme.
Source #
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |
Related #
@package #
Uses #
Uses | Description |
---|---|
themes/class-ld-themes-register.php: LearnDash_Theme_Register::init () |
Initialize the Themes. |
includes/settings/class-ld-settings-sections.php: LearnDash_Settings_Section::get_section_setting () |
Static function to get a Section Setting value. |
includes/admin/class-learndash-admin-data-upgrades.php: learndash_data_upgrades_setting () |
Utility function to get the data upgrade settings. |
Used By #
Used By | Description |
---|---|
themes/class-ld-themes-register.php: LearnDash_Theme_Register::load_active_theme () |
Load the active theme. |
includes/shortcodes/ld_quiz.php: learndash_quiz_shortcode_function () |
Builds the |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_key () |
Get the Slug of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_name () |
Get the Name of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_base_dir () |
Get the base directory of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_base_url () |
Get the base URL of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_template_dir () |
Get the template directory of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_template_url () |
Get the URL of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_dir () |
Get the template directory of the current active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_url () |
Get the URL of the current active theme. |
includes/class-ld-cpt-instance.php: SFWD_CPT_Instance::template_content () |
Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter) |
includes/settings/settings-sections/class-ld-settings-section-support-templates.php: LearnDash_Settings_Section_Support_Templates::load_templates () |
Load template files in preparation for processing. |