LearnDash_Theme_Register::get_active_theme_key()
Get the Slug of the current active theme.
Description #
Return #
(string) Key (slug) for active theme.
Source #
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |
Related #
@package #
Uses #
Uses | Description |
---|---|
themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_instance () |
Get the instance of the current active theme. |
Used By #
Used By | Description |
---|---|
includes/payments/ld-login-registration-functions.php: learndash_reset_password_output () |
LearnDash LD30 Shows reset password form |
includes/gutenberg/lib/enqueue-scripts.php: learndash_get_legacy_not_supported_message () |
Get the Legacy template not supported message. |
includes/gutenberg/blocks/ld-infobar/index.php: LearnDash_Gutenberg_Block_Infobar::render_block () |
Render Block |
includes/settings/settings-pages/class-ld-settings-page-registration.php: LearnDash_Settings_Page_Registration::admin_tabs () |
Action hook to handle admin_tabs processing from LearnDash. |
includes/payments/ld-login-registration-functions.php: learndash_registration_output () |
LearnDash LD30 Shows registration form for user registration |
includes/payments/ld-login-registration-functions.php: learndash_get_login_url () |
Retrieves the LD login URL if using the LD30 template and the LD Login & Registration feature. If not using the Login & Registration feature, uses the wp_login_url() function redirecting back to current page |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::is_active_theme () |
Utility function to check if a theme_key is the active theme. |
themes/class-ld-themes-register.php: LearnDash_Theme_Register::is_active () |
Utility function to check if a class theme_key is the active theme. |
themes/class-ld-themes-register.php: learndash_is_active_theme () |
Checks if a theme_key is the active theme. |
includes/ld-misc-functions.php: learndash_login_menu_items () |
Updates the menus being displayed to show the login/logout. |
includes/ld-misc-functions.php: learndash_load_login_modal_html () |
Prints the login modal in the site footer. |
includes/ld-misc-functions.php: learndash_body_classes () |
Adds custom classes to the body. |
includes/ld-misc-functions.php: learndash_remove_comments () |
Removes all comments for learndash post types. |
includes/ld-misc-functions.php: learndash_comments_open () |
Ensures the comments are open for assignments. |
includes/class-ld-lms.php: SFWD_LMS::get_template_paths () |
Get template paths |
includes/shortcodes/ld_certificate.php: ld_certificate_shortcode () |
Builds the |
includes/settings/settings-sections/class-ld-settings-section-courses-themes.php: LearnDash_Settings_Courses_Themes::learndash_section_fields_after () |
Section Fields After |
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. |
includes/gutenberg/lib/enqueue-scripts.php: learndash_editor_scripts () |
Enqueues block editor styles and scripts. |
includes/shortcodes/ld_course_list.php: ld_course_list () |
Builds the |